Function

array_intersect

Synopsis

array_intersect(mixed, mixed ...): array

Area
Runtime\PS\Core\Arrays\Sets\array_intersectareas

Description

array_intersect returns the entries of $array whose value is in every one of the other arrays, keys kept; it compares values as strings, as array_diff compares them.

Usage

$value = array_intersect($arguments);
$fn = array_intersect(...);

See also