3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array(0 => '00', 2 => '02', 3 => '03'); $array2 = array(1 => '11', 3 => '13', 4 => '14'); $result = $array1 + $array2; var_dump($result);
Output for 4.3.0 - 7.2.6
array(5) { [0]=> string(2) "00" [2]=> string(2) "02" [3]=> string(2) "03" [1]=> string(2) "11" [4]=> string(2) "14" }