"21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPE"> "21","> What will be the output of the following PHP code ?$age = array("Harry" => "21", "21","> "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPE"> "21"," /> "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPE" /> "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPE" />
Sail E0 Webinar
Question
What will be the output of the following PHP code ?$age = array("Harry" => "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPER);array_pop($age);print_r($age);
Options:
A .  Array ( [HARRY] => 21 [RON] => 23 [MALFOY] => 21 )
B .  Array ( [Harry] => 21 [Ron] => 23 [Malfoy] => 21 )
C .  Array ( [Harry] => 21 [Ron] => 23 )
D .  Array ( [HARRY] => 21 [RON] => 23 )
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers