diff()
The diff() method compares with other arrays and returns the values that are not in any of the other arrays
Example.php
Syntax
Parameter
$iterables
Arrays to compare.
Return value
A array containing all the entries that are not present in any of the other arrays. (Keys are preserved)
Prefixing
References
Last updated