I want to map array2 values to array1 indexes those have values 3 and 5 and want to output array like this-Array :     Array1 ( [0] => [1] => [2] => 3 [3] => [4] => 5 [5] => [6] => )
     Array2 ( [0] => URD [1] => ISL )
    I want to map array2 values to array1 indexes those have values 3 and 5 and want to output array like this- Array ( [0] => [1] => [2] => URD [3] => [4] => ISL [5] => [6] => )# solution please** used this method 
    $newArray = array_values(array_filter(array_merge($array1,$array2)));
    but its output is-Array([0] => 3[1] => 5[2] => URD[3] => ISL)
output should be- Array ( [0] => [1] => [2] => URD [3] => [4] => ISL [5] => [6] => )