πŸ“Š PHP
Q. How can you remove an element from an array by its key?
  • (A) unset()
  • (B) remove()
  • (C) delete()
  • (D) array_remove()
πŸ’¬ Discuss
βœ… Correct Answer: (A) unset()

Explanation: unset() removes a variable or array element.

Explanation by: Rati Dubey
unset() removes a variable or array element.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
40
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
83%
Success Rate