I have 2 PHP arrays, a simple one:
array
0 => int 5
1 => int 6
and an array of objects:
array
0 =>
object(stdClass)[43]
public 'id' => int 1
1 =>
object(stdClass)[46]
public 'id' => int 3
2 =>
object(stdClass)[43]
public 'id' => int 5
3 =>
object(stdClass)[46]
public 'id' => int 6
4 =>
object(stdClass)[46]
public 'id' => int 7
I'd like to make a diff of these 2 arrays to eliminate in the second those present in the first. In this example, i don't want the ids 5 and 6 in the second array. But i need help ;>
Thank you.
fabien