3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 0; while ($i++ < 5) { echo "Outer<br />\n"; while (1) { echo "Middle<br />\n"; while (1) { echo "Inner<br />\n"; continue 3; } echo "This never gets output.<br />\n"; } echo "Neither does this.<br />\n"; }
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.1.10
Outer<br /> Middle<br /> Inner<br /> Outer<br /> Middle<br /> Inner<br /> Outer<br /> Middle<br /> Inner<br /> Outer<br /> Middle<br /> Inner<br /> Outer<br /> Middle<br /> Inner<br />