Beginner PHP
Q11 / 100

What does the count() function do?

Correct! Well done.

Incorrect.

The correct answer is B) Returns the number of elements in an array

B

Correct Answer

Returns the number of elements in an array

Explanation

count($array) returns the number of elements. strlen() returns string length.

Progress
11/100