3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stad = "Las Vegas"; switch ($stad) { case "Honolulu:": echo " $stad Bring a swimsuit<br>"; break; case "Las Vegas": echo " Bring an extra $500<br>"; break; case "Amsterdam": echo " Bring an open mind<br>"; break; case "Tokyo": echo " Bring lots of money<br>"; break; case "Cairo": echo " Bring 15 bottles of SPF 50 Sunscreen<br>"; break; default: echo "Bring lots of underwear!"; break; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Bring an extra $500<br>

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:
58.77 ms | 401 KiB | 8 Q