3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('memory_limit', '20M'); $pass = str_repeat('a', 1024 * 1024 * 8); $pass . $pass;
Output for 7.0.0 - 7.1.0
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 16777248 bytes) in /in/EU45h on line 6
Process exited with code 255.
Output for hhvm-3.10.0, hhvm-3.13.2
Fatal error: request has exceeded memory limit in /in/EU45h on line 6
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/EU45h on line 5
Process exited with code 255.
Output for 5.2.1 - 5.6.28
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 16777217 bytes) in /in/EU45h on line 6
Process exited with code 255.
Output for 4.3.0 - 5.2.0