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

πŸ‘οΈ
83
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
87%
Success Rate