Name
array_intersect
Synopsis
array array_intersect(arrayarray1
, arrayarray2
[, ... arrayarrayN
])
Returns an array whose elements are those from the first array that also exist in every other array.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.