3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($n=1e6;$n--;)$a=array($a);
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: a in /in/C9Hsp on line 1 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /in/C9Hsp on line 1
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: a in /in/C9Hsp on line 1
Output for 5.4.0 - 5.4.9, 5.5.0 - 5.6.28
Notice: Undefined variable: a in /in/C9Hsp on line 1 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 64 bytes) in /in/C9Hsp on line 1
Process exited with code 255.
Output for 5.4.10 - 5.4.45
Notice: Undefined variable: a in /in/C9Hsp on line 1 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /in/C9Hsp on line 1
Process exited with code 255.
Output for 5.2.1 - 5.3.29
Notice: Undefined variable: a in /in/C9Hsp on line 1 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 64 bytes) in /in/C9Hsp on line 1
Process exited with code 139.
Output for 5.0.4 - 5.2.0
Notice: Undefined variable: a in /in/C9Hsp on line 1
Process exited with code 139.
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/C9Hsp on line 1
Process exited with code 139.