Q. Which PHP function returns the current element of an array?

  • (A) current()
  • (B) next()
  • (C) key()
  • (D) value()
πŸ’¬ Discuss
βœ… Correct Answer: (A) current()
Explanation: current() returns the element at the current pointer position.
Explanation by: Kanak Sharma
current() returns the element at the current pointer position.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
68
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
96%
Success Rate