Re: New function bytesize()

From: Date: Wed, 19 Jul 2000 15:03:49 +0000
Subject: Re: New function bytesize()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25124@lists.php.net to get a copy of this message
Oki, thx :)) On Wed, 19 Jul 2000, Sascha Schumann wrote: > On Wed, 19 Jul 2000, Mathieu Kooiman (ggInternet) wrote: > > > sizeof(char) * (*string)->value.str.len ?! > > Anyone got some "binary safe unicode safe" idea on this?! > > What are you actually trying to achieve? value.str.len contains > the length of the accessible area in bytes already. No need to > multiply it with a value which won't change over the next few > decades. In a couple of years, wchar_t might become more > prominent, but I don't see any reason to change the meaning of > the len property. > > - Sascha >

« previous php.dev (#25124) next »