3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = array(); for ($i = 0; $i < 10000000; $i++) { $x[] = $i; } for ($i = 0; $i < 10000000; $i++) { echo array_pop($x); }
Output for 7.0.20 - 7.1.7
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 67108872 bytes) in /in/7pGlt on line 4
Process exited with code 255.