Re: function proposal
| From: | Teodor Cimpoesu | Date: | Wed, 19 Jul 2000 11:45:49 +0000 |
| Subject: | Re: function proposal | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25073@lists.php.net to get a copy of this message | ||
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