|
array_change_key_caseChanges the case of all keys in an array Description
array array_change_key_case
( array
$array
[, int $case = CASE_LOWER
] )
Returns an array with all keys from Parameters
Return Values
Returns an array with its keys lower or uppercased, or Errors/Exceptions
Throws Examples
Example #1 array_change_key_case example
<?phpThe above example will output:
Array
(
[FIRST] => 1
[SECOND] => 4
)
Notes
|