3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; while ($i++ < 5) { echo "Outer<br />\n"; while (1) { echo "Middle<br />\n"; while (1) { echo "Inner<br />\n"; continue 4; } echo "This never gets output.<br />\n"; } echo "Neither does this.<br />\n"; }
Output for 8.0.0
Fatal error: Cannot 'continue' 4 levels in /in/MDCOL on line 10
Process exited with code 255.
Output for 5.4.19 - 5.4.22
Outer<br /> Middle<br /> Inner<br /> Fatal error: Cannot break/continue 4 levels in /in/MDCOL on line 10
Process exited with code 255.

preferences:
152.82 ms | 1394 KiB | 12 Q