3v4l.org

run code in 500+ PHP versions simultaneously
<?php switch ($four) { ; // only one valid //; Uncomment for a parse error case 4: echo 'four'; break; default; echo 'not four'; }
Output for git.master
Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in /in/n9S9r on line 7 Warning: Undefined variable $four in /in/n9S9r on line 6 not four

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:
48.9 ms | 489 KiB | 4 Q