Re: What is the use of "unicode.semantics" in PHP 6?

From: Date: Thu, 14 Jun 2007 15:42:37 +0000
Subject: Re: What is the use of "unicode.semantics" in PHP 6?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-30184@lists.php.net to get a copy of this message
Pierre wrote: > On 6/14/07, Rasmus Lerdorf <rasmus@lerdorf.com> wrote: >> Jani Taskinen wrote: >> > During Derick's talk about PHP 6 at PHP Vikinger, I started to wonder >> > what exactly was the reasoning behind adding something like >> > "unicode.semantics" option. Derick didn't remember, neither did I. >> > >> > Apparently it's another one of these "register_globals" or >> > "magic_quotes_*" directives we'll remove in PHP 7? :D >> > >> > I mean, if PHP 6 is about unicode, why upgrade to PHP 6 and disable it? >> > Just stay with PHP 5 then.. >> >> That's exactly why we need the toggle. We don't want to encourage >> people to stay with an older version. We have enough trouble getting >> people from 4 to 5 today, why build in an automatic excuse for people to >> stay with 5 when all development moves to 6? If all their PHP 5-based >> code works flawlessly in PHP 6, the adoption of PHP 6 will be quicker. > > As a side note, we had the same thoughts about php5, it did not work. Not really. Nothing in PHP 5 was designed to break compatibility with PHP 4. However in PHP 6 there are just some things that cannot be made backward compatible in Unicode mode without being completely inconsistent with how Unicode should work. -Rasmus

« previous php.internals (#30184) next »