What will be the output of the following PHP code?
<?php
$a = array("a" => "india", "b" => "brazil", "c" => "china");
echo array_shift($a);
echo "<br>"
array_pop($a);
print_r($a);
?>
- india Array ( [a] => china )
- india
Array ( [a] => brazil )
- china Array ( [a] => india )
- china Array ( [a] => brazil )
(b).
india
need an explanation for this answer? contact us directly to get an explanation for this answerArray ( [a] => brazil )