3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '661 660 657 656 663 662 659 658 642 641 644 643'; $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 641: case 642: case 643: case 644: case 656: case 657: case 658: case 659: case 660: case 661: case 662: case 663:

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