for example
$array1 = array(item1=>5,item2=>7);
$array2 = array(item1=>5,item3=>7);
Actually i want to first check the array, if same key exist means value should be (arithmetically) added otherwise if not exists then it directly pushed to the array.
my output will be like
$nov-2014 =array(item1=>10,item2=>7,item3=>7)