Fatal error: Uncaught TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Traversable|array, Closure given in /in/QpQW4:41
Stack trace:
#0 /in/QpQW4(41): iterator_to_array(Object(Closure), true)
#1 {main}
thrown in /in/QpQW4 on line 41
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Traversable, Closure given in /in/QpQW4:41
Stack trace:
#0 /in/QpQW4(41): iterator_to_array(Object(Closure), true)
#1 {main}
thrown in /in/QpQW4 on line 41
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to iterator_to_array() must implement interface Traversable, instance of Closure given in /in/QpQW4:41
Stack trace:
#0 /in/QpQW4(41): iterator_to_array(Object(Closure), true)
#1 {main}
thrown in /in/QpQW4 on line 41
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Catchable fatal error: Argument 1 passed to iterator_to_array() must implement interface Traversable, instance of Closure given in /in/QpQW4 on line 41
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected '$key_0' (T_VARIABLE) in /in/QpQW4 on line 35
Process exited with code 255.