int sizeof(string arg) int sizeof(array arg) int sizeof(mapping arg) int sizeof(multiset arg) int sizeof(object arg)
Size query.
The result will be as follows:
The number of characters in arg will be returned.
The number of elements in arg will be returned.
The number of key-value pairs in arg will be returned.
If arg implements lfun::_sizeof() , that function will be called. Otherwise the number of non-protected (ie public) symbols in arg will be returned.
lfun::_sizeof()