I\'m trying to intersect an arbitrary number of PHP arrays, the count of which depends on a user provided parameter, each of which can have any number of elements.
F
$arrays = [ $userArray1, $userArray2, $userArray3 ]; $result = array_intersect(...$arrays);