3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i <= 62; $i += 6) { $count = $i - 6; if($count >= 0} { echo $count."<br>"; } }
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected '}' in /in/hp8TW on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '}' in nAPgE on line 6
Process exited with code 255.

preferences:
174.56 ms | 1395 KiB | 45 Q