3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array1 = array('test1' => array('blah', 'blahd')); $array2 = array('test2' => array('blah1', 'blahd2')); var_dump($array1 + $array2);
Output for 4.3.0 - 7.1.0
array(2) { ["test1"]=> array(2) { [0]=> string(4) "blah" [1]=> string(5) "blahd" } ["test2"]=> array(2) { [0]=> string(5) "blah1" [1]=> string(6) "blahd2" } }