I have two arrays of objects like 

```
$array1 = [{id: '12',amount:'23'},{id:'10',amount:'129'},{id:'8', amount:'47'}];

$array2 = [{id: '3', date:'23'},{id:'4', date:'12'},{id:'6', date:'21'}];

```

I want to check all the id (12,10,8) of the first array to the second.
if those ids are not present in array 2. it will `var_dump('not matched')`.

I tried to do this, but when fist element not matched it was stopped to iterate further and show 'not found' status.

```php

 foreach ($array1 as $value) {
            foreach ($array2 as $value2) {
                if ($value['id'] !== $value2['id']) {
                   var_dump('not found');
                }
            }
        }

```

I expect to show the output result after all iteration is done.