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: the array being converted
- Case: Uppercase: Case_upper lowercase: case_lower (default)
- Example :
$inputarray("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); }); });
The above describes the [PHP function]--array function--array_change_key_case, including aspects of the content, I hope to be interested in PHP tutorial friends helpful.