bool(true)
bool(true)
bool(false)
bool(false)
Warning: Uncaught Error: Object of class App\Foo could not be converted to string in /in/0LIrS:26
Stack trace:
#0 /in/0LIrS(26): CachingIterator->next()
#1 {main}
thrown in /in/0LIrS on line 26
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16777216 bytes) in /in/0LIrS on line 20
Process exited with code 255.
Output for 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
bool(true)
bool(true)
bool(false)
bool(false)
Warning: Uncaught Error: Object of class App\Foo could not be converted to string in /in/0LIrS:26
Stack trace:
#0 /in/0LIrS(26): CachingIterator->next()
#1 {main}
thrown in /in/0LIrS on line 26
Fatal error: Out of memory (allocated 27262976 bytes) (tried to allocate 8388608 bytes) in /in/0LIrS on line 20
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
Process exited with code 255.
Output for 8.1.2 - 8.1.27
bool(true)
bool(true)
bool(false)
bool(false)
Warning: Uncaught Error: Object of class App\Foo could not be converted to string in /in/0LIrS:26
Stack trace:
#0 /in/0LIrS(26): CachingIterator->next()
#1 {main}
thrown in /in/0LIrS on line 26
Fatal error: Out of memory (allocated 27262976) (tried to allocate 8388608 bytes) in /in/0LIrS on line 20
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
Process exited with code 255.