3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 1; test()){ echo $i, "\n"; } function test(){ if (rand() == 1){ global $i; $i = 1; } }