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/VMJEK 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 o64A1 on line 3
Process exited with code 255.

preferences:
175.25 ms | 1395 KiB | 45 Q