3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i < 10; $i++) { for($j = 0; $j < 10; $j++) { if($i == 0) break print $j; } }
Output for 5.4.0 - 5.4.23
Fatal error: 'break' operator with non-constant operand is no longer supported in /in/VVkQ7 on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.29
0

preferences:
183.84 ms | 1395 KiB | 61 Q