3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function buildHash($test = 1) { if ($test > 10) { echo "made it"; } try { throw new Exception('error'); } catch (Exception $e) { buildHash(++$test); } } buildHash();
Output for 7.1.0 - 7.2.0
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /in/42TZp on line 9
Process exited with code 255.
Output for 7.0.0 - 7.0.20
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /in/42TZp on line 9
Process exited with code 255.
Output for hhvm-3.17.3
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it
Process exited with code 139.
Output for hhvm-3.15.4

Process exited with code 137.
Output for hhvm-3.13.2
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Unable to allocate 2097152 bytes of memory
Process exited with code 255.
Output for hhvm-3.12.14
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Unable to allocate 2097152 bytes of memory
Process exited with code 255.
Output for hhvm-3.10.1 - 3.11.1
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Unable to allocate 2097152 bytes of memory
Process exited with code 255.
Output for 5.5.0 - 5.6.30
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 81 bytes) in /in/42TZp on line 9
Process exited with code 255.
Output for 5.4.0 - 5.4.45
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 81 bytes) in /in/42TZp on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.29
made itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade itmade it Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80 bytes) in /in/42TZp on line 9
Process exited with code 255.