Working on arrays in PHP

me66z

New Member
Assuming that you have three arrays which might contain different values as follows.:\[code\]$arr1 = array('1', '5', '10');$arr2 = array('1', '3', '10');$arr3 = array('1', '6', '10');\[/code\]How would you strip out what's different and get it as follows?:\[code\]$arr1 = array('1', '10');$arr2 = array('1', '10');$arr3 = array('1', '10');\[/code\]I meant I wanted to get it as follows.:\[code\]$result = array('1', '10');\[/code\]
 
Back
Top