I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an I
key => value
$arr[$newkey] = $arr[$oldkey]; unset($arr[$oldkey]);