Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37315 invoked by uid 1010); 14 Jun 2007 15:42:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37300 invoked from network); 14 Jun 2007 15:42:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2007 15:42:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:58113] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/33-08628-6F161764 for ; Thu, 14 Jun 2007 11:42:48 -0400 Received: from 170.7.112.10.in-addr.arpa (62-50-197-220.client.stsn.net [62.50.197.220]) (authenticated bits=0) by mail.lerdorf.com (8.14.1/8.14.1/Debian-4) with ESMTP id l5EFgbuX006147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 14 Jun 2007 08:42:40 -0700 Message-ID: <467161ED.9040300@lerdorf.com> Date: Thu, 14 Jun 2007 16:42:37 +0100 User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Pierre CC: jani.taskinen@iki.fi, internals@lists.php.net References: <1181829227.3478.3.camel@localhost.localdomain> <46715887.4010306@lerdorf.com> In-Reply-To: X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.90.3/3418/Thu Jun 14 06:03:06 2007 on colo.lerdorf.com X-Virus-Status: Clean Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: rasmus@lerdorf.com (Rasmus Lerdorf) Pierre wrote: > On 6/14/07, Rasmus Lerdorf 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