3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($j = 1; $j <= 12; $j++) { for ($i = 1; $i <= 12; $i++) { echo $j*$i . "\t"; if $j == 12 echo "<br>"; } }
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '$j' (T_VARIABLE), expecting '(' in /in/eGfGO on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /in/eGfGO on line 5
Process exited with code 255.

preferences:
178.87 ms | 1395 KiB | 61 Q