I have an array like below
$old = array( \'a\' => \'blah\', \'b\' => \'key\', \'c\' => \'amazing\', \'d\' => array(
array_combine(array_merge($old, $keyReplaceInfoz), $old)
I think this looks easier than what you posed.