PHP array_diff() Function
The array_diff() function compares the values of two (or more) arrays, and returns the differences. You can diff several arrays by providing more parameters. The function will return an array of values in the first array that do not appear…