3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=10; for($b=0, $b<=$a, $b++){ $c++; } echo $c;
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ')', expecting ';' in /in/aRE6k on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ')', expecting ';' in 07AJ9 on line 3
Process exited with code 255.

preferences:
166.89 ms | 1395 KiB | 45 Q