Assuming you have three arrays that can contain different values as follows:
$arr1 = array('1', '5', '10'); $arr2 = array('1', '3', '10'); $arr3 = array('1', '6', '10');
How would you divide that differently and get it like this:
$arr1 = array('1', '10'); $arr2 = array('1', '10'); $arr3 = array('1', '10');
I meant that I wanted to get it as follows:
$result = array('1', '10');
source share