What will be the output of the following PHP code ?
<?php
$age = array("Harry" => "21", "Ron" => "23","Malfoy" => "21");
array_change_key_case($age, CASE_UPPER);
array_pop($age);
print_r($age);
?>
- Array ( [Harry] => 21 [Ron] => 23 [Malfoy] => 21 )
- Array ( [HARRY] => 21 [RON] => 23 [MALFOY] => 21 )
- Array ( [HARRY] => 21 [RON] => 23 )
- Array ( [Harry] => 21 [Ron] => 23 )
(c).Array ( [HARRY] => 21 [RON] => 23 )
need an explanation for this answer? contact us directly to get an explanation for this answer