Javascript debugger
Website design
↑
Returns an array with all keys from input lowercased or uppercased. Numbered indices are left as is.
Returns an array with its keys lower or uppercased, or false if input is not an array.
<?php
$input_array = array("FirSt" => 1, "SecOnd" => 4);
print_r(array_change_key_case($input_array, CASE_UPPER));
?>
The above example will output:
Array
(
[FIRST] => 1
[SECOND] => 4
)