3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class foo { function bar() {} } $x = new foo; for ($i=0; $i<1e7;$i++) $x->bar();
Output for 4.3.0, 5.0.0 - 7.1.0
Output for 4.3.1 - 4.4.9

Process exited with code 137.