change key with the value php

53

change key with the value php -

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

Comments

Submit
0 Comments