I have two array:
arr1=array('red', 'red', 'snake', 'blue');
arr2=array('color', 'color', 'animal', 'color');
and I want arr3=array('red'=>'color', 'snake'=>'animal', 'blue'=>'color' );
look the red fill can be pink fill, because index and value has same but if same value not merge like blue=>color because different index and or different value.
And the sequence of final result is consecutive like begin red=>color and end by blue=>color.
Anyone would to like to help me, what PHP function can do that?
Thank you very much.