3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '612 600 616 604 618 606 676 592 704 700 698 694'; $string = explode("\n", $string); reset($string); sort($string); reset($string); foreach($string as $x) { echo 'case ' . $x . ':' . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
case 592: case 600: case 604: case 606: case 612: case 616: case 618: case 676: case 694: case 698: case 700: case 704:

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