3v4l.org

run code in 300+ PHP versions simultaneously
<?php $X = array('a' => 'a in X', 'ab' => 'ab in X', 'na' => null, 'nb' => 'nb in X'); $Y = array('b' => 'b in Y', 'ab' => 'ab in Y', 'na' => 'na in X', 'nb' => null); $XY = array_merge($X, $Y); var_dump($XY);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { ["a"]=> string(6) "a in X" ["ab"]=> string(7) "ab in Y" ["na"]=> string(7) "na in X" ["nb"]=> NULL ["b"]=> string(6) "b in Y" }

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