3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0;$i <10;$++) { echo $i*rand(5,10); }
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '++' (T_INC), expecting variable (T_VARIABLE) or '$' in /in/Pfco6 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_INC, expecting T_VARIABLE or '$' in /in/Pfco6 on line 2
Process exited with code 255.

preferences:
174.67 ms | 1395 KiB | 61 Q