3v4l.org

run code in 300+ PHP versions simultaneously
<?php for(int i = 1; i < 10; i = i + 1)
Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.14
Parse error: syntax error, unexpected 'i' (T_STRING), expecting ';' in /in/ZBEj4 on line 3
Process exited with code 255.

preferences:
180.25 ms | 1400 KiB | 65 Q