Q. Which PHP function returns the number of elements in an array?

  • (A) array_size()
  • (B) sizeof()
  • (C) length()
  • (D) array_length()
πŸ’¬ Discuss
βœ… Correct Answer: (B) sizeof()
Explanation: sizeof() is an alias of count().
Explanation by: Mr. Dubey
sizeof() is an alias of count().

πŸ’¬ Discussion


πŸ“Š Question Analytics

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