3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($arg) { return $arg; } for ($i = 0; $i < 10000; $i++) { if (foo($i) !== $i) { exit("fail"); } } exit('success');;
Output for 5.5.0 - 7.1.7
success