3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('memory_limit', '2M'); str_repeat('a', 999999999);
based on f2Fl1
Output for 7.0.0 - 7.2.0
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 1000000031 bytes) in /in/Gis9c on line 5
Process exited with code 255.
Output for hhvm-3.10.1 - 3.17.3

Process exited with code 139.
Output for 5.5.0 - 5.6.30
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 1000000000 bytes) in /in/Gis9c on line 5
Process exited with code 255.