InterviewSolution
Saved Bookmarks
| 1. |
Which of the following function is used to get the value of the previous element in an array?(a) last()(b) before()(c) prev()(d) previous()I had been asked this question in unit test.This question is from Arrays-1 in section Arrays and Functions of PHP |
|
Answer» CORRECT answer is (C) PREV() To explain: The prev() FUNCTION returns the previous element in the ARRAY. |
|