"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a);"> "red", "b"=>"g"> What will be the output of the following PHP code?$a = array("a"=>"red", "b"=>"g "red", "b"=>"g"> "red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a);"> "red", "b"=>"g" /> "red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a);" /> "red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a);" />
Sail E0 Webinar
Question
What will be the output of the following PHP code?$a = array("a"=>"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a);
Options:
A .  none of the mentioned
B .  red
C .  green
D .  blue
Answer: Option B

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