Deprecated: Return type of ResultIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/OmZUa on line 41
Deprecated: Return type of ResultIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/OmZUa on line 49
Deprecated: Return type of ResultIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/OmZUa on line 45
Deprecated: Return type of ResultIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/OmZUa on line 60
Deprecated: Return type of ResultIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/OmZUa on line 54
Array
(
[0] => 0
[1] => abc
[2] => def
)
Array
(
[0] => 1
[1] => foo
[2] => bar
)
Array
(
[0] => 2
[1] => fizz
[2] => buzz
)
Catchable fatal error: Argument 2 passed to ResultIterator::__construct() must be an instance of callable, instance of Closure given, called in /in/OmZUa on line 67 and defined in /in/OmZUa on line 36
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Parse error: syntax error, unexpected ':' in /in/OmZUa on line 38
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected ':' in /in/OmZUa on line 38
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/OmZUa on line 3
Process exited with code 255.