Hi Andi, sizeof() is an alias of count() not strlen() ;-)
johannes On Friday 23 June 2006 07:43, Andi Gutmans wrote: > Maybe sizeof() should not be an alias for strlen() when operating on > Unicode...? > > Andi > > > -----Original Message----- > > From: Andrei Zmievski [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 22, 2006 3:14 PM > > To: Ron Korving > > Cc: internals@lists.php.net > > Subject: Re: [PHP-DEV] Re: strlen() under unicode.semantics > > > > It'll be there. strlen_bytes() perhaps? > > > > -Andrei > > > > On Jun 22, 2006, at 2:55 PM, Ron Korving wrote: > > > Still, it's gotta be useful to be know how many bytes it occupies. > > > Perhaps > > > for Content-length headers or something. There are plenty > > > > of low level > > > > > concepts to think of where one might need this. And even if > > > > you can't > > > > > think of any reason now, you don't wanna get hit in the > > > > face by it and > > > > > have to implement such a function for PHP 6.0.1. > > > > > > - Ron > > > > -- > > PHP Internals - PHP Runtime Development Mailing List To > > unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php