Re: Re: mbstring

From: Date: Tue, 03 Sep 2002 08:25:23 +0000
Subject: Re: Re: mbstring
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-87855@lists.php.net to get a copy of this message
At 11:20 03/09/2002, derick@php.net wrote:
strlen -> stringlength... I think this should count the number of characters in a string, not the binary length. It would be nice if this function (strlen) would be transparent with mb things too, as no code needs to be changed then.
Compatibility is king. strlen() returns the number of bytes, has been for at least 5 years. You just can't change that because the name is slightly better or slightly worse. Anyway, I suggest we get back to this issue when it's a little more relevant. There are plenty of other discussions we can fight over before we have to get around to this :) Zeev

« previous php.dev (#87855) next »