3v4l.org

run code in 300+ PHP versions simultaneously
<?php switch("0e123") { case "0e456": echo "LOL #1\n"; break; default: echo "default\n"; } for ($i = 0; $i < 1; ++$i) { switch ($i) { case "LOLPHP": echo "LOL #2\n"; default: continue; } print "LOL #3\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /in/ov0K9 on line 16 LOL #1 LOL #3

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:
30.41 ms | 405 KiB | 5 Q