3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array('123' => '123', '456' => '456'); $arr2 = array('123' => '123'); print_r(array_merge_recursive($arr1, $arr2)); $arr1 = array('x123' => 'x123', 'x456' => 'x456'); $arr2 = array('x123' => 'x123'); print_r(array_merge_recursive($arr1, $arr2));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 123 [1] => 456 [2] => 123 ) Array ( [x123] => Array ( [0] => x123 [1] => x123 ) [x456] => x456 )

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