iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Uncaught TypeError: ArrayObject::__construct(): Argument #1 ($array) must be of type array, string given in /in/aa57I:18
Stack trace:
#0 /in/aa57I(18): ArrayObject->__construct('the end')
#1 {main}
thrown in /in/aa57I on line 18
Process exited with code 255.
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Uncaught InvalidArgumentException: Passed variable is not an array or object in /in/aa57I:18
Stack trace:
#0 /in/aa57I(18): ArrayObject->__construct('the end')
#1 {main}
thrown in /in/aa57I on line 18
Process exited with code 255.
Output for 7.0.0 - 7.0.17, 7.1.0 - 7.1.3
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in /in/aa57I:18
Stack trace:
#0 /in/aa57I(18): ArrayObject->__construct('the end')
#1 {main}
thrown in /in/aa57I on line 18
Process exited with code 255.
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Passed variable is not an array or object, using empty array instead' in /in/aa57I:18
Stack trace:
#0 /in/aa57I(18): ArrayObject->__construct('the end')
#1 {main}
thrown in /in/aa57I on line 18
Process exited with code 255.
Output for 5.0.5
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Uncaught exception 'Exception' with message 'Passed variable is not an array or object, using empty array instead' in /in/aa57I:18
Stack trace:
#0 /in/aa57I(18): ArrayObject->__construct('the end')
#1 {main}
thrown in /in/aa57I on line 18
Process exited with code 255.
Output for 5.0.4
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Uncaught exception 'Exception' with message 'Passed variable is not an array or object, using empty array instead' in /in/aa57I:18
Stack trace:
#0 /in/aa57I(18): ArrayObject->__construct()
#1 {main}
thrown in /in/aa57I on line 18
Process exited with code 255.
Output for 5.0.0 - 5.0.3
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Warning: ArrayObject::__construct(): Passed variable is not an array or object, using empty array instead in /in/aa57I on line 18
Warning: Wrong parameter count for __construct() in /in/aa57I on line 19
Warning: Wrong parameter count for __construct() in /in/aa57I on line 20
Warning: Wrong parameter count for __construct() in /in/aa57I on line 21
Warning: Wrong parameter count for __construct() in /in/aa57I on line 22
Fatal error: Class 'RecursiveArrayIterator' not found in /in/aa57I on line 24
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/aa57I on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
iterator_apply($recursive_array_iterator, 'traverseRecursiveArray', array($recursive_array_iterator));
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/aa57I on line 4