#22553 [Opn->Bgs]: array_change_key_case defaults to CASE_UPPER
| From: | didou@php.net | Date: | Wed, 05 Mar 2003 16:43:57 +0000 |
| Subject: | #22553 [Opn->Bgs]: array_change_key_case defaults to CASE_UPPER | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352119@lists.php.net to get a copy of this message | ||
ID: 22553
Updated by: didou@php.net
Reported By: phanto@php.net
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
PHP Version: 4.2.3
New Comment:
Totally wrong :)
<?
$a = array (
'foo' => 1,
'FooBAR' => 2
);
print_r(array_change_key_case($a));
?>
Output on 4.2.3 :
Array ( [foo] => 1 [foobar] => 2 )
Cheers,
Mehdi
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 09:43:01] phanto@php.net
but the documentation says CASE_LOWER
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22553&edit=1