sizeof(3)

NAME
sizeof() - return the number of elements in an array or mapping

SYNOPSIS
int sizeof(mixed var);

DESCRIPTION
Return the number of elements in an array or mapping 'var'. If `var' is not an array or a mapping, then '0' is returned.

SEE ALSO
allocate(3).