3v4l.org

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

preferences:
181.04 ms | 1395 KiB | 45 Q