3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_merge_recursive(array(array('uid' => 1), array('uid' => 2)), array(array('foo' => 'bar'), array('foo' => 'baz'))));
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
array(4) { [0]=> array(1) { ["uid"]=> int(1) } [1]=> array(1) { ["uid"]=> int(2) } [2]=> array(1) { ["foo"]=> string(3) "bar" } [3]=> array(1) { ["foo"]=> string(3) "baz" } }