Hello Developer I am trying to check one single array into multiple array value and My exact requirement is the value of one array should be check in each indexes of second array and replace if same otherwise append it in new array.
My Two array was like this:- One array:-
$array1 = array(
"extension_date" => "2017-05-19",
"extended_date" => "2017-05-27"
);
Second Array:-
$array2 = array(
0 => array(
"extension_date" => "2017-05-19",
"extended_date" => "2017-05-27"
),
1 => array(
"extension_date" => "2017-05-31",
"extended_date" => "2017-05-31"
),
);
I am try it from yesterday but it's not be succeed so please help me to solve out this issue.