array_diff in PHP

Syntax of array_diff array array_diff(array array1, array array2[, … array arrayN]) Returns an array that contains all of the values from the first array that are not present in any of the other provided arrays. The keys of the values are preserved Example of array_diff Array ( [1] => blue )