3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = ''; while(1){$str .= 'a';}; ?>
Output for 7.0.0 - 7.1.0
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 31457288 bytes) in /in/d4u5q on line 1
Process exited with code 255.
Output for hhvm-3.12.0
mallctl opt.prof: No such file or directory (2) Fatal error: request has exceeded memory limit in /in/d4u5q on line 1
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: request has exceeded memory limit in /in/d4u5q on line 1
Process exited with code 255.
Output for 5.4.21 - 5.4.27, 5.4.29 - 5.4.32, 5.4.45 - 5.6.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 66846673 bytes) in /in/d4u5q on line 1
Process exited with code 255.
Output for 4.3.0 - 5.3.27, 5.4.0 - 5.4.20, 5.4.28, 5.4.34 - 5.4.44

Process exited with code 137.
Output for 5.3.28 - 5.3.29
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 66322385 bytes) in /in/d4u5q on line 1
Process exited with code 255.