1.

What will be the output of the following PHP code ? "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPER);array_pop($age);print_r($age);?>

A. rray ( [Harry] => 21 [Ron] => 23 [Malfoy] => 21 )
B. rray ( [HARRY] => 21 [RON] => 23 [MALFOY] => 21 )
C. rray ( [HARRY] => 21 [RON] => 23 )
D. rray ( [Harry] => 21 [Ron] => 23 )
Answer» D. rray ( [Harry] => 21 [Ron] => 23 )


Discussion

No Comment Found

Related MCQs