Vidyalelo
PHP · Q7

Arrays

Programming · PHP · question 7

Q7

What will be the output of the following PHP code?

A.
orangebanana
Answer
B.
appleorange
C.
orangeorange
D.
appleapple

Answer: Option A

Solution

Answer: Option A
Solution:
The next() function returns the array value residing at the position immediately following that of the current array pointer.