3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = ['one1', 'two1', 'three1']; $arr2 = ['one2', 'two2', 'three2']; foreach ($arr1 as $a1) { echo $a1."\n"; foreach ($arr2 as $a2) { if ($a2 === 'two2') { break 1; } echo $a2."\n"; } echo "no continue\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
one1 one2 no continue two1 one2 no continue three1 one2 no continue

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.78 ms | 401 KiB | 8 Q