Re: function proposal
| From: | ggInternet) | Date: | Wed, 19 Jul 2000 12:15:09 +0000 |
| Subject: | Re: function proposal | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25074@lists.php.net to get a copy of this message | ||
Is there any more interest in this?
Cos I don't feel like writing another
"not wanted" function :-)
-- caps
On Wed, 19 Jul 2000, Teodor Cimpoesu wrote:
> Hi Mathieu!
> On Wed, 19 Jul 2000, 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.
>
> I was thinking sizeof(strval($var)) would do the job, but is not.
> Maybe a new function, say "int bytesof (mixed var)"?
>
> -- teodor
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>