At 11:20 03/09/2002, [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php