Is there some PHP-centric documentation about Unicode? Why we need it?
How we use it? Pitfalls. Best practise in determining if data is
unicode or a hack attempt, etc.

So far, I've not needed unicode. But with the amount of effort being
placed into getting PHP unicode compliant, it suggests that it is
something important and I should know about it.

Regards,

Richard Quadling.

On 11/11/06, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
Stanislav Malyshev wrote:
>
>> Please, lets keep 5.x code in 5.x and 6.x code in 6.x, different
>> branches exist for a good reason.
>
> Well, then I guess we shouldn't have (binary) in 5.x?

A lot of functions in PHP 6 are able to take both binary and Unicode
strings and act differently when they are passed different types.  I
think this is going to be the biggest source of confusion for people
migrating to PHP 6 and as such I think it is a good idea to get this
cast in as soon as possible to people can start to make their code PHP 6
safe.

I am hoping that a typical PHP 5 application will only need a couple of
binary casts to run perfectly under PHP 6 in Unicode mode.  Allowing
that same code to run unchanged in PHP 5 makes a lot of sense.

-Rasmus

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




--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

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

Reply via email to