3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 1, PHP_EOL; while (1) { echo 2, PHP_EOL; while (1) { echo 3, PHP_EOL; while (1) { echo 4, PHP_EOL; while (1) { echo 5, PHP_EOL; while (1) { echo 6, PHP_EOL; while (1) { break rand() % 5; } } } } } }
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Fatal error: 'break' operator with non-constant operand is no longer supported in /in/fHN9B on line 15
Process exited with code 255.

preferences:
160.5 ms | 1146 KiB | 6 Q