Is there a php function, similar to array\_merge, that does the exact opposite? In other words, I have two arrays. I would like to remove any value that exists in the second array from the first array. I could do this by iterating with loops, but if there is a handy function available to do the same thing, that would be the preferred option.

Example:

```
array1 = [1, 2, 3, 4, 5]
array2 = [2, 4, 5]

$result = array_unmerge(array1, array2);

```

$result should come out to [1, 3]