3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "Stopping with \$i < 'AA'\n" for($i = "A"; $i < "AA"; $i++) echo $i; echo "\n\nStopping with \$i <= 'Z'\n"; for($i = "A"; $i <= "Z"; $i++) echo $i;
Output for 5.4.0 - 5.5.3
Parse error: syntax error, unexpected 'for' (T_FOR), expecting ',' or ';' in /in/4LhuM on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_FOR, expecting ',' or ';' in /in/4LhuM on line 4
Process exited with code 255.