Q. Which function is used to get the length of an array in PHP?
β
Correct Answer: (A)
count()
Explanation: count() returns the number of elements in an array.