-
What will be the output of the following PHP code?
<?php
$Flower = array ("Rose", "Lily ", "Sunflower");
echo (next($Flower));
echo (next($Flower));
?>
-
- Sunflower
- Lily
- Rose
- Sunflower Lily
- Lily Sunflower
Correct Option: E
The next() function returns the array value residing at the position immediately following that of the current array pointer.