3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(array('a'=> 1), array('b' => 2), array('c' => 3)); $b = array(array('a'=> 2), array('b' => 3), array('c' => 4)); var_dump(array_merge($a, $b));
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { [0]=> array(1) { ["a"]=> int(1) } [1]=> array(1) { ["b"]=> int(2) } [2]=> array(1) { ["c"]=> int(3) } [3]=> array(1) { ["a"]=> int(2) } [4]=> array(1) { ["b"]=> int(3) } [5]=> array(1) { ["c"]=> int(4) } }

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