Q. What is the result of the following PHP code?
Code:
<?php
$arr = array("A"=>"Alex", "B"=>"Bob", "E"=>"Emily");
echo array_shift($arr);
print_r ($arr);
?>
β
Correct Answer: (C)
AlexArray([B] => Bob [E] => Emily)