Deprecated: Return type of test::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/0BpP1 on line 4
Fatal error: Uncaught Exception: Objects returned by test::getIterator() must be traversable or implement interface Iterator in /in/0BpP1:9
Stack trace:
#0 {main}
thrown in /in/0BpP1 on line 9
Process exited with code 255.
Fatal error: Uncaught Exception: Objects returned by test::getIterator() must be traversable or implement interface Iterator in /in/0BpP1:9
Stack trace:
#0 {main}
thrown in /in/0BpP1 on line 9
Process exited with code 255.
Fatal error: Uncaught exception 'Exception' with message 'Objects returned by test::getIterator() must be traversable or implement interface Iterator' in /in/0BpP1:9
Stack trace:
#0 /in/0BpP1(9): unknown()
#1 {main}
thrown in /in/0BpP1 on line 9
Process exited with code 255.
Output for 5.0.4
Process exited with code 139.
Output for 5.0.0 - 5.0.3
Warning: Objects returned by test::getIterator() must be traversable or implement interface Iterator in /in/0BpP1 on line 9
Process exited with code 139.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/0BpP1 on line 3
Process exited with code 255.