|
array_diffComputes the difference of arrays Description
array array_diff
( array
$array1
, array $array2
[, array $...
] )
Compares Parameters
Return Values
Returns an array containing all the entries from
Examples
Example #1 array_diff example
<?php Multiple occurrences in $array1 are all treated the same way. This will output : Array ( [1] => blue ) Notes
See Also
|