: This article mainly introduces [php functions] -- array functions -- array_change_key_case. For more information about PHP tutorials, see. Array_change_key_case
- Version:> = Php4.2
- Description: Array_change_key_case (array Input [, int Case = CASE_LOWER]) to convert the key of the array to uppercase or lowercase.
- Parameters:
- Input: converted array
- Case: upper case: CASE_UPPER lower case: CASE_LOWER (default)
- Example:
$ Input = array ("startTime" => 1, "endTime" => 2); $ output = array_change_key_case ($ input, CASE_LOWER); print_r ($ output ); // result # array ([starttime] => 1, [endtime] => 2)
'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
'). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script
The above introduces the [php function] -- array function -- array_change_key_case, which includes some content and hopes to be helpful to those who are interested in the PHP Tutorial.