<?php $array = Array(1 => 1, 2 =>4); $array1 = Array(3 => 5); $temp = $array + $array1; print_r($temp); echo json_encode($temp);
You have javascript disabled. You will not be able to edit any code.