PHP » GoLang |
login |
register |
about
|
GoLang array_uintersect
request it (687)
GoLang replacement for PHP's array_uintersect
[edit | history]
array_uintersect(PHP 5, PHP 7) array_uintersect — Computes the intersection of arrays, compares data by a callback function Description
array array_uintersect
( array
$array1
, array $array2
[, array $...
], callable $value_compare_func
)Computes the intersection of arrays, compares data by a callback function. Parameters
Return Values
Returns an array containing all the values of Examples
Example #1 array_uintersect() example
<?phpThe above example will output:
Array
(
[a] => green
[b] => brown
[0] => red
)
See Also
|
more
Most requested
more
Last requests
|