3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = json_decode('[{"pattern": "firefox","isPatternRegExp": false},{"pattern": "chrome","isPatternRegExp": false}]', true); var_dump(array_merge_recursive($array, $array));
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> array(2) { ["pattern"]=> string(7) "firefox" ["isPatternRegExp"]=> bool(false) } [1]=> array(2) { ["pattern"]=> string(6) "chrome" ["isPatternRegExp"]=> bool(false) } [2]=> array(2) { ["pattern"]=> string(7) "firefox" ["isPatternRegExp"]=> bool(false) } [3]=> array(2) { ["pattern"]=> string(6) "chrome" ["isPatternRegExp"]=> bool(false) } }

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:
34.32 ms | 402 KiB | 8 Q