-
What will be the output of the following PHP code?
<?php
$Profile = array("Ajit"=>"22", "Ats"=>"23", "Aju"=>"24");
print_r(array_change_key_case($Profile, CASE_UPPER));
?>
-
-
Array
(
[AJIT] => 22
[ATS] => 23
[AJU] => 24
) -
Array
(
[AJIT] => 22
[ATS] => 23
) -
Array
(
[AJIT] => 22
) -
Array
(
[AJU] => 24
) - None of these
-
Correct Option: A
The array_change_key_case() function changes all keys in an array to lowercase or uppercase.