I have four arrays and I want to get the common elements of each array. Is there a function that will allow me to compare multiple arrays and get their common element?
[0] => Array
(
[0] => 121186
[1] => MPE129
[2] => MHB1
[3] => 60000
[4] => 2014-2015
[5] => 1
)
[1] => Array
(
[0] => 102147
[1] => MPE129
[2] => MHB1
[3] => 60000
[4] => 2014-2015
[5] => 1
)
[2] => Array
(
[0] => 130879
[1] => MPE129
[2] => MHB1
[3] => 60000
[4] => 2014-2015
[5] => 1
)
[3] => Array
(
[0] => 101768
[1] => MPE129
[2] => MHB1
[3] => 60000
[4] => 2014-2015
[5] => 1
)