array_intersect

Definition

array array_intersect ( array $array1 , array $array2 [, array $ ... ] )

Description

array_intersect() returns an array containing all the values of array1 that are present in all the arguments. Note that keys are preserved.

[More at php.net]

Parameters




loading


Share/bookmark - array_intersect


Global comments