3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ""; $qualityList = array("7", "m", "m7", "maj7", "sus2", "sus4", "dim", ""); foreach ($qualityList as $idx => $qual) { echo "key is " . $idx . " and value is " . $qual; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
key is 0 and value is 7key is 1 and value is mkey is 2 and value is m7key is 3 and value is maj7key is 4 and value is sus2key is 5 and value is sus4key is 6 and value is dimkey is 7 and value is

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.69 ms | 401 KiB | 8 Q