function dividedByThree(int $number): bool { //return $number !== 0 && !(bool) base_convert($number, 10, 3)[-1]; return 0; }
- function dividedByThree(int $number): bool
- {
return $number !== 0 && !(bool) base_convert($number, 10, 3)[-1];- //return $number !== 0 && !(bool) base_convert($number, 10, 3)[-1];
- return 0;
- }