php-documentation-list | 2003031

[PHP-DOC] #22553 [Opn->Bgs]: array_change_key_case defaults to CASE_UPPER From: didou <email protected>
Date: 03/05/03

 ID: 22553
 Updated by: didou <email protected>
 Reported By: phanto <email protected>
-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 <email protected>

but the documentation says CASE_LOWER

------------------------------------------------------------------------

-- 
Edit this bug report at http://bugs.php.net/?id=22553&edit=1

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php