PHP » GoLang |
login |
register |
about
|
u can change string to anything array_diff(PHP 4 >= 4.0.1, PHP 5, PHP 7) array_diff — Computes 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
|
more
Recently updated
more
Most requested
more
Last requests
|