$firstArray= [
[
"ID" => "ABC"
],
[
"ID" => "100"
],
[
"ID" => "200"
]
];
$firstArray= ["ABC" =>"fail"];
**Here I have to check two condition**
Condition #1
$abc
i am having 3 values, out of this values suppose present in $second
array,we have ignore the value and remaining only one value we have to assign $existarray
As of now i have completed it is working fine also,
Condition #2
I have one more json like this
$jsonString = '{
"jsonData" : {
"ABC" : {
"Count" :1
},
"100" : {
"Count" :3
},
"200" : {
"Count" :1
}
}
}';
$finalcount= json_decode($jsonString);
Now i want to check one more condition $abc
array of mainarray
key values count <10 we should ignore.This condition i have to implement my current code
Expected output
Array
(
[ID] => 200
)