Deprecated: Return type of MyFilter::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/jKOgZ on line 5
int(3)
int(3)
int(3)
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, MyFilter given in /in/jKOgZ:18
Stack trace:
#0 {main}
thrown in /in/jKOgZ on line 18
Process exited with code 255.
Output for 8.0.10 - 8.0.30
int(3)
int(3)
int(3)
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, MyFilter given in /in/jKOgZ:18
Stack trace:
#0 {main}
thrown in /in/jKOgZ on line 18
Process exited with code 255.
Output for 8.0.0 - 8.0.9
int(3)
int(3)
int(3)
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, MyFilter given in /in/jKOgZ:18
Stack trace:
#0 {main}
thrown in /in/jKOgZ on line 18
Process exited with code 255.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/jKOgZ on line 5
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/jKOgZ on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/jKOgZ on line 5
Process exited with code 255.