array_change_key_case function - how to change array keys in lower case or upper case

array_change_key_case function - how to change array keys in lower case or upper case


array_change_key_casefunction.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>array_change_key_case function - how to change array keys in lower case or upper case</title>
</head>

<body>
    <h2 style="color:OrangeRed; font-style:italic">php example: using array_change_key_case function in php</h2>
    <hr width="525" align="left" color="Orange" />
    <br />

<?php 
 $Employee["FirstName"]="Jenny";
 $Employee["LastName"]="Jones";
 $Employee["Age"]="26";
 print_r($Employee);
 echo "<br /><br />";
 print_r(array_change_key_case($Employee,CASE_UPPER));
 echo "<br /><br />";
 print_r(array_change_key_case($Employee,LOWER_UPPER));
?>

</body>
</html>