I am new in PHP and now i'm facing a problem with arrays. I have two sets of arrays.I want to form a result array which contains all the mismatched elements in both the array.
eg:
array1=Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 )
array2=Array ( [0] => 1 [1] => 2 [2]=>9)
result array what i'm expecting should be
result array=Array([0] => 3 [1] => 4 [2] => 5 [3] => 9 )
