This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

PHP Arrays

array_change_key_case() Function

Array ( [peter] => 35 [ben] => 37 [joe] => 43 )

<?php
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"43");

// return the array with all keys in lower case
print_r(array_change_key_case($age,CASE_LOWER));
?>