πŸ“Š PHP
Q. Which function is used to remove the last element from an array?
  • (A) array_pop()
  • (B) array_shift()
  • (C) unset()
  • (D) remove_last()
πŸ’¬ Discuss
βœ… Correct Answer: (A) array_pop()

Explanation: array_pop() removes the last element of an array.

Explanation by: Rati Dubey
array_pop() removes the last element of an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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