Is it possible to push a value into array based on its key but actually add to the key.
For example
$data = array();
$data[0]= 12;
$data[1]= 1;
$data[2]= 2;
$data[3]= 56;
$data[4]= 78;
array_push($data, 0,23);
so the output would be
$data[0]= 35; (12+23)
$data[1]= 1;
$data[2]= 2;
$data[3]= 56;
$data[4]= 78;