Question: What will be the following script's output?
<?php
$countryes=array(“India”,”Japan”,”Uk”);
$country=array_shift($countryes);
print_r($countryes);
?>
Question: If you want to display all elements what will you use of the following script?
<?php
$colorList[0] = "red";
$colorList[1] = "green";
$colorList[2] = "blue";
$colorList[3] = "black"; ?>