1.

What will be the output of the following PHP code?"35", "Ben"=>"37", "Joe"=>"43");print_r(array_change_key_case($age, CASE_UPPER));?>

A. rray ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
B. rray ( [peter] => 35 [ben] => 37 [joe] => 43 )
C. rray ( [PETER] => 35 [BEN] => 37 [JOE] => 43 )
D. rray ( [PeTeR] => 35 [BeN] => 37 [Joe] => 43 )
Answer» D. rray ( [PeTeR] => 35 [BeN] => 37 [Joe] => 43 )


Discussion

No Comment Found

Related MCQs