Recent Posts

Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

PHP: How to change the key of an Associative Array element

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