Re: function proposal
| From: | waldschrott | Date: | Wed, 19 Jul 2000 10:23:08 +0000 |
| Subject: | Re: function proposal | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25062@lists.php.net to get a copy of this message | ||
try
strlen(serialize($variable))
that should almost be a value which helps you optimizing
regards
Mathieu Kooiman (ggInternet) wrote:
Uhm, for debug/optimize purposes I'd like to get the size in _bytes_ of a certain variable, EG the complete size of an object in BYTES. -- CaPS-- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·