PHP » array_udiff_assoc
Computes the difference of arrays with additional index check, compares data by a callback function
| Parameters | Description |
|---|---|
| array1 | The first array. |
| array2 | The second array. |
| data_compare_func | The callback comparison function. |
Return Value: array_udiff_assoc() returns an array containing all the values from array1 that are not present in any of the other arguments. Note that the keys are used in the comparison unlike array_diff() and array_udiff(). The comparison of arrays' data is performed by using an user-supplied callback. In


