3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('a' => 'some value', 'b' => 'some value', 'c' => 'some value'); $b = array('a' => 'another value', 'd' => 'another value', 'e' => 'another value', 'f' => 'another value'); $c = array('b' => 'some more value', 'x' => 'some more value', 'y' => 'some more value', 'z' => 'some more value'); $merged = array_merge($a, $b); var_dump($merged);
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { ["a"]=> string(13) "another value" ["b"]=> string(10) "some value" ["c"]=> string(10) "some value" ["d"]=> string(13) "another value" ["e"]=> string(13) "another value" ["f"]=> string(13) "another value" }

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