Fatal error: Uncaught ValueError: CachingIterator::__construct(): Argument #2 ($flags) must contain only one of CachingIterator::CALL_TOSTRING, CachingIterator::TOSTRING_USE_KEY, CachingIterator::TOSTRING_USE_CURRENT, or CachingIterator::TOSTRING_USE_INNER in /in/a4r5W:2
Stack trace:
#0 /in/a4r5W(2): CachingIterator->__construct(Object(ArrayIterator), 3)
#1 {main}
thrown in /in/a4r5W on line 2
Process exited with code 255.
Fatal error: Uncaught InvalidArgumentException: Flags must contain only one of CALL_TOSTRING, TOSTRING_USE_KEY, TOSTRING_USE_CURRENT, TOSTRING_USE_INNER in /in/a4r5W:2
Stack trace:
#0 /in/a4r5W(2): CachingIterator->__construct(Object(ArrayIterator), 3)
#1 {main}
thrown in /in/a4r5W on line 2
Process exited with code 255.
Output for 5.5.17 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Flags must contain only one of CALL_TOSTRING, TOSTRING_USE_KEY, TOSTRING_USE_CURRENT, TOSTRING_USE_INNER' in /in/a4r5W:2
Stack trace:
#0 /in/a4r5W(2): CachingIterator->__construct(Object(ArrayIterator), 3)
#1 {main}
thrown in /in/a4r5W on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.16
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Flags must contain only one of CALL_TOSTRING, TOSTRING_USE_KEY, TOSTRING_USE_CURRENT, TOSTRING_USE_CURRENT' in /in/a4r5W:2
Stack trace:
#0 /in/a4r5W(2): CachingIterator->__construct(Object(ArrayIterator), 3)
#1 {main}
thrown in /in/a4r5W on line 2
Process exited with code 255.