Steph,

On Wed, 2008-05-14 at 13:59 +0100, "Steph Fox" wrote:
> I wrote a macro to allow us to use the same code for the extension in both 
> branches, but it occurs to me that the zstr union definition might change or 
> even disappear when PHP 6 becomes Unicode-only. Is that likely? I don't 
> know. So keeping it all together is total guesswork at present.

In general: No. We still need both string types at most places, the
effect of the u.s setting is the default type for strings in the engine.
Most other functions still need to work with both kinds of string as
parameter and such. (strlen(b"äöü") vs. atrlen(u"äöü"))

johannes




-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to