3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 10; while ($i <-- 11) { var_dump($i); }
Output for 5.4.13
Parse error: syntax error, unexpected '11' (T_LNUMBER) in /in/ZfhpA on line 4
Process exited with code 255.
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '11' (T_LNUMBER) in nWGnk on line 4
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected T_LNUMBER in /in/ZfhpA on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_LNUMBER in nWGnk on line 4
Process exited with code 255.

preferences:
175.55 ms | 1395 KiB | 45 Q