Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 20 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads