MB_SIZE


Function returns the size of object.

For arrays and hashes returns a count of elements being contained in them, for strings - length of string in the bytes, for all remaining types returns 0.
Example of call function:
<TMPL_var MB_SIZE(foo)>

Copyright © 2003 - 2010 CTPP Dev. Team | http://ctpp.havoc.ru