sizeof

(PHP 3, PHP 4 >= 4.0.0)

sizeof -- Get the number of elements in variable

Description

int sizeof ( mixed var)

The sizeof() function is an alias for count().

See also count().