3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int = 50; $arr['some' . ' complex' . ' index? with int ' . $int] = [[ 'type' => 'urls', 'urls' => ['url', 'murl', 'purl', 'turl']]]; $arrRef = &$arr['some' . ' complex' . ' index? with int ' . $int]; var_dump($arrRef);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> array(2) { ["type"]=> string(4) "urls" ["urls"]=> array(4) { [0]=> string(3) "url" [1]=> string(4) "murl" [2]=> string(4) "purl" [3]=> string(4) "turl" } } }

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.14 ms | 402 KiB | 8 Q