filmov
tv
array_intersect php funciton

Показать описание
array_intersect — Computes the intersection of arrays
Description
array_intersect(array $array, array ...$arrays): array
array_intersect() returns an array containing all the values of array that are present in all the arguments. Note that keys are preserved.
Parameters
array
The array with master values to check.
arrays
Arrays to compare values against.
Description
array_intersect(array $array, array ...$arrays): array
array_intersect() returns an array containing all the values of array that are present in all the arguments. Note that keys are preserved.
Parameters
array
The array with master values to check.
arrays
Arrays to compare values against.