Change all keys in an array to lowercase: in PHP
Description
The following code shows how to change all keys in an array to lowercase:.
Example
/*from w ww . ja va2 s . c o m*/
<?php
$age=array("XML"=>"35","HTML"=>"37","CSS"=>"43");
print_r(array_change_key_case($age,CASE_LOWER));
?>
The code above generates the following result.