3v4l.org

run code in 300+ PHP versions simultaneously
<?php define ( "THE_CONST" , 3 ) ; function b ( $a = array ( E_ALL => THE_CONST ) ) { print_r ( new ArrayIterator !=b () , c ) ; foreach ( bar as $$d ) $e = days * 4 * 0 ; } b () ;
based on IrYCq
Output for 7.4.3 - 7.4.8, 8.0.0alpha1 - alpha3
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262144 bytes) in /in/6NMKP on line 4
Process exited with code 255.
Output for 7.2.0 - 7.2.32, 7.3.0 - 7.3.20, 7.4.0 - 7.4.2
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262144 bytes) in /in/6NMKP on line 3
Process exited with code 255.