note 26925 added to function.array-change-key-case

From: Date: Mon, 18 Nov 2002 03:31:37 +0000
Subject: note 26925 added to function.array-change-key-case
Groups: php.notes 
Request: Send a blank email to php-notes+get-39616@lists.php.net to get a copy of this message
Just a note, this function kills any name-clashes! Say you had: $array = array('key1' => 'abc', 'key2' => 'def', 'KEY1' => 'ghi'); $array = array_change_key_case($array); then you would end up with: Array ( [key1] => ghi [key2] => def ) (Change .org to .com to e-mail me) Armond -- http://www.php.net/manual/en/function.array-change-key-case.php http://master.php.net/manage/user-notes.php?action=edit+26925 http://master.php.net/manage/user-notes.php?action=delete+26925 http://master.php.net/manage/user-notes.php?action=reject+26925

« previous php.notes (#39616) next »