I have some arrays called
$array[1], $array[2] etc.
$array[1] is something like array(1,2,3) and $array[2] is sth. like array(2,3,4) now I want to have alle numbers which are in all arrays.
I want to use
array_intersect($array[1],$array[2])
for this.
BUT I have maybe 2 or 3 or 4 of this array. Is it possible to create a string like
$list_of_array = $array[1],$array[2];
and make a
$result = array_intersect($list_of_arrays)
?