3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function main() { $x = array('hakunamatata' => 12); $s = 0; for ($i = 0; $i < 100000000; $i++) { $s += $x['hakunamatata']; } var_dump($s); } main();
based on KUmrK
Output for 5.3.11 - 7.2.0

Process exited with code 137.