3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php str_repeat('xyz',50000000);
Output for 7.0.0 - 7.1.0
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 150000032 bytes) in /in/R6LXY on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 150000001 bytes) in /in/R6LXY on line 3
Process exited with code 255.
Output for 5.2.3 - 5.4.45
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 150000001 bytes) in /in/R6LXY on line 3
Process exited with code 255.
Output for 5.2.1 - 5.2.2
<br /> <b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 150000001 bytes) in <b>/in/R6LXY</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 5.2.0