PHP userland backwards compatibility layer that emulates PHP 5.5+ core functions.

⌈⌋ ⎇ branch:  upgrade.php


Artifact [7c5a5e3539]

Artifact 7c5a5e35398ac4d740d6495dc9cc87f124ae49f1:

  • File doc/tests1all/array_change_key_case.phpt — part of check-in [51e3884900] at 2010-06-22 17:03:27 on branch trunk — upgradephp-15 (user: mario size: 288)

--TEST--
array_change_key_case
--FILE--
<?php

$a = array("low"=>32, "CamelCase"=>"Wiki");
print_r($a);
echo "\n";
$a = array_change_key_case($a, CASE_UPPER);
print_r($a);

?>
--EXPECT--
Array
(
    [low] => 32
    [CamelCase] => Wiki
)

Array
(
    [LOW] => 32
    [CAMELCASE] => Wiki
)