Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19621 invoked by uid 1010); 20 Jun 2007 12:43:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19606 invoked from network); 20 Jun 2007 12:43:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2007 12:43:39 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.5 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Received: from [82.94.239.5] ([82.94.239.5:41143] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/14-22285-BF029764 for ; Wed, 20 Jun 2007 08:43:39 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l5KChUs4030662; Wed, 20 Jun 2007 14:43:30 +0200 Date: Wed, 20 Jun 2007 14:43:33 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= cc: jani.taskinen@iki.fi, internals@lists.php.net In-Reply-To: <1181831287.6890.75.camel@johannes.nop> Message-ID: References: <1181829227.3478.3.camel@localhost.localdomain> <1181831287.6890.75.camel@johannes.nop> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-594917370-1182343413=:8301" Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: derick@php.net (Derick Rethans) --8323329-594917370-1182343413=:8301 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 14 Jun 2007, Johannes Schl=C3=BCter wrote: > Hi Jani, >=20 > On Thu, 2007-06-14 at 16:53 +0300, 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. >=20 > The reason was to "keep BC" >=20 > > Apparently it's another one of these "register_globals" or > > "magic_quotes_*" directives we'll remove in PHP 7? :D > >=20 > > I mean, if PHP 6 is about unicode, why upgrade to PHP 6 and disable it? > > Just stay with PHP 5 then.. >=20 > - The ini Setting changes the behaviour of the code in a quite > drastic way. This is even worse then magic_quotes which could=20 > be fixed by using some prepending file removing/adding slashes > depending on the setting. >=20 > - The UG(unicode) checks in the code make maintenance way harder. >=20 > - This feature doesn't bring BC - there will still be enough BC > breaks. >=20 > - I guess we're adding a few thousand UG(unicode) checks during > each request which certainly cost a bit performance >=20 > Conclusion: Let's remove that damn setting. Just to state the obvious... I agree here. Derick --8323329-594917370-1182343413=:8301--