Re: function proposal

From: Date: Wed, 19 Jul 2000 14:18:50 +0000
Subject: Re: function proposal
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25105@lists.php.net to get a copy of this message
Hmm.. what about sticking it on var_dump output? ----- Original Message ----- From: "Mathieu Kooiman (ggInternet)" <caps@s052.widexs.nl> To: "Teodor Cimpoesu" <teo@digiro.net> Cc: "PHP Development Mailinglist" <php-dev@lists.php.net> Sent: Wednesday, July 19, 2000 19:15 Subject: Re: [PHP-DEV] function proposal > > 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)"?

« previous php.dev (#25105) next »