Open In App

Web technologies Questions | PHP Quiz | Set-3 | Question 5

Which of the following function is used to move the pointer to the previous array position?

(A)



last()

(B)



before()

(C)

prev()

(D)

Previous()

Answer: (C)
Explanation:

The function prev() in PHP is used to return the immediate previous element from an array of the element which is currently pointed by the internal pointer

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :