replace key in php

34

$arr[$newkey] = $arr[$oldkey];
unset($arr[$oldkey]);

Comments

Submit
0 Comments