PHP » Arrays » sizeof()

Syntax:
int sizeof(mixed var [, int mode])
var
The var for which the number of elements is wanted.
mode
Whether to count the array recursively.

Returns the size of an array.

The sizeof() function is an alias for the count() function and works just the same.

See Also: