Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30183 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36119 invoked by uid 1010); 14 Jun 2007 15:41:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36104 invoked from network); 14 Jun 2007 15:41:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2007 15:41:44 -0000 Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 83.243.58.163 cause and error) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:33036] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/F2-08628-5B161764 for ; Thu, 14 Jun 2007 11:41:43 -0400 Received: (qmail 16467 invoked by uid 507); 14 Jun 2007 15:41:37 -0000 Received: from unknown (HELO ?192.168.1.102?) (postmaster%schlueters.de@82.135.82.68) by mail4.netbeat.de with ESMTPA; 14 Jun 2007 15:41:37 -0000 To: jani.taskinen@iki.fi Cc: internals@lists.php.net In-Reply-To: <1181829227.3478.3.camel@localhost.localdomain> References: <1181829227.3478.3.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 14 Jun 2007 17:23:14 +0200 Message-ID: <1181834594.8607.1.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 (2.10.1-4.fc7) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi Jani, 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. The reason was to "keep BC" > 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.. - The ini Setting changes the behaviour of the code in a quite drastic way. This is even worse then magic_quotes which could be fixed by using some prepending file removing/adding slashes depending on the setting. - The UG(unicode) checks in the code make maintenance way harder. - This feature doesn't bring BC - there will still be enough BC breaks. - I guess we're adding a few thousand UG(unicode) checks during each request which certainly cost a bit performance Conclusion: Let's remove that damn setting. johannes