3v4l.org

run code in 300+ PHP versions simultaneously
<?php $STOP = 5; $i = 0; $j = 5; while($STOP-- > 0) { echo "i = $i ; j = $j\n"; i f(($i++) ( $j++) ) { echo "2up\n"; } }
Output for 5.4.0 - 5.4.9
Parse error: syntax error, unexpected 'f' (T_STRING) in /in/sevTC on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected T_STRING in /in/sevTC on line 10
Process exited with code 255.

preferences:
163.17 ms | 1395 KiB | 37 Q