Home »
MCQs »
PHP MCQs
Which PHP function is used to return the current element in an array?
117. Which PHP function is used to return the current element in an array?
- get()
- start()
- current()
- cur()
Answer: C) current()
Explanation:
The PHP function current() is used to return the current element in an array.