3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('memory_limit', '20M'); $pass = str_repeat('a', 1024 * 1024 * 8); $pass . $pass;
Output for 7.2.0 - 7.3.0rc3
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 16777248 bytes) in /in/EU45h on line 4
Process exited with code 255.
Output for 7.0.0 - 7.1.20
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 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