πŸ“Š PHP
Q. Which PHP function returns the key of the current array element?
  • (A) key()
  • (B) index()
  • (C) current_key()
  • (D) array_key()
πŸ’¬ Discuss
βœ… Correct Answer: (A) key()

Explanation: key() returns the key of the current element.

Explanation by: Kanak Sharma
key() returns the key of the current element.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
5 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
85%
Success Rate