3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(range(0, 999999999) as $a) { echo "asd"; }
Output for 7.0.0 - 7.1.0
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 34359738376 bytes) in /in/lQP3r on line 2
Process exited with code 255.
Output for 5.3.7 - 5.6.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/lQP3r on line 2
Process exited with code 255.