PHP » GoLang |
login |
register |
about
|
GoLang array_change_key_case
request it (488)
GoLang replacement for PHP's array_change_key_case
[edit | history]
array_change_key_case(PHP 4 >= 4.2.0, PHP 5, PHP 7) array_change_key_case — Changes 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
|
more
Most requested
more
Last requests
|