3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(range(0,10000) as $i) { echo $i; } // 3.847 ms for($i = 0; $i < 10000; ++$i) { echo $i } // 0.663 ms
Output for 5.3.0 - 5.5.3
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/BLYQA on line 3
Process exited with code 255.