Skip to main content

sizeof

Discworld driver help

sizeof

Name

sizeof() - return the number of elements in an array, mapping, buffer,
class or string

Synopsis

int sizeof( mixed var );

Description

Return the number of elements in an array, mapping, string, class or buffer `var'. If `var' is not an array, mapping, string, class or buffer, then zero (0) is returned.

See also

strlen()