πŸ“Š PHP
Q. Which PHP function removes the first element of an array?
  • (A) array_shift()
  • (B) array_pop()
  • (C) array_unshift()
  • (D) array_splice()
πŸ’¬ Discuss
βœ… Correct Answer: (A) array_shift()

Explanation: array_shift() removes the first array element.

Explanation by: Mr. Dubey
array_shift() removes the first array element.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
15
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate