array_intersect
facade/ignition
Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Computes the intersection of arrays
<?php array_intersect
(array
$array
, array ...
$arrays
): array