3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10; $i++) { for ($j = 0; $j < 10; $j++) { if ($i % 2 == 0) continue 2; echo "j: " . $j . "\n"; } echo "i: " . $i . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
j: 0 j: 1 j: 2 j: 3 j: 4 j: 5 j: 6 j: 7 j: 8 j: 9 i: 1 j: 0 j: 1 j: 2 j: 3 j: 4 j: 5 j: 6 j: 7 j: 8 j: 9 i: 3 j: 0 j: 1 j: 2 j: 3 j: 4 j: 5 j: 6 j: 7 j: 8 j: 9 i: 5 j: 0 j: 1 j: 2 j: 3 j: 4 j: 5 j: 6 j: 7 j: 8 j: 9 i: 7 j: 0 j: 1 j: 2 j: 3 j: 4 j: 5 j: 6 j: 7 j: 8 j: 9 i: 9

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:
51.26 ms | 402 KiB | 8 Q