php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #22553 array_change_key_case defaults to CASE_UPPER
Submitted: 2003-03-05 09:43 UTC Modified: 2003-03-05 10:43 UTC
From: phanto@php.net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.2.3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phanto@php.net
New email:
PHP Version: OS:

 

 [2003-03-05 09:43 UTC] phanto@php.net
but the documentation says CASE_LOWER

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-05 10:43 UTC] didou@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC