πŸ“Š PHP
Q. Which function is used to get the length of an array in PHP?
  • (A) count()
  • (B) length()
  • (C) sizeof()
  • (D) array_length()
πŸ’¬ Discuss
βœ… Correct Answer: (A) count()

Explanation: count() returns the number of elements in an array.

Explanation by: Rati Dubey
count() returns the number of elements in an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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