<?php$arr1 = array(0 => 14, 5 => 444);$arr2 = array(0 => 104, 14 => 4444);var_dump($arr1 + $arr2);
Standard input is empty
array(3) { [0]=> int(14) [5]=> int(444) [14]=> int(4444) }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!