3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 5; ) { echo $i += 1 }
Output for 5.3.25 - 5.3.26, 5.4.16
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/VWLSE on line 5
Process exited with code 255.
Output for 5.2.14 - 5.3.24, 5.4.0 - 5.4.15
Parse error: syntax error, unexpected '}', expecting ',' or ';' in njIg6 on line 5
Process exited with code 255.