Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34864 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14615 invoked by uid 1010); 22 Jan 2008 00:53:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14600 invoked from network); 22 Jan 2008 00:53:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2008 00:53:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.175 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.175 smtpout0175.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.175] ([64.97.136.175:8545] helo=n082.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/09-64254-D9E35974 for ; Mon, 21 Jan 2008 19:53:50 -0500 Received: from sc1-out04.emaildefenseservice.com (64.97.139.2) by n082.sc1.he.tucows.com (7.2.069.1) id 4769FAD4006F525E; Tue, 22 Jan 2008 00:53:42 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,57be5783fe4ec0e5,a1a5b04c56777945,steph@zend.com,-,RULES_HIT:152:355:379:539:540:541:542:543:567:599:601:945:960:973:982:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1542:1587:1593:1594:1605:1676:1711:1730:1747:1766:1792:2073:2075:2078:2198:2199:2379:2393:2553:2559:2562:2693:2731:3027:3622:3664:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:4250:4699:5007:6119:6120:6261:7653,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5, Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (62-31-252-198.cable.ubr07.shef.blueyonder.co.uk [62.31.252.198]) (Authenticated sender: steph.fox) by sc1-out04.emaildefenseservice.com (Postfix) with ESMTP; Tue, 22 Jan 2008 00:53:41 +0000 (UTC) Message-ID: <005901c85c91$590963a0$c6fc1f3e@foxbox> Reply-To: "Steph Fox" To: "Andi Gutmans" , "Antony Dovgal" Cc: References: <698DE66518E7CA45812BD18E807866CE0124CA03@us-ex1.zend.net> Date: Tue, 22 Jan 2008 00:54:29 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP From: steph@zend.com ("Steph Fox") Hi Andi, > As we have discussed in the past the migration path may be extremely hard > moving from PHP 5 to PHP 6. Therefore the community has to come together > and really invest in the migration path more than we have in the past > (like we did from version 2 to 3). This means that during the development > process we do port applications to PHP 6 and make sure to capture that > process for our users. Preferably we can have automated migration scripts, > php.ini with defaults that allows for easy migration and well documented > migration steps. We're still getting people through the idea of switching to PHP 5 from where I stand. There is plenty of time to think about stuff and etc. for PHP 6. > Depending on how much pain we discover I think we should still agree to be > open to the idea that Unicode strings would be explicit (e.g. u"foo") as > opposed to the default (someone else mentioned it on this thread). 'Unicode strings would be explicit' is one thing, a Unicode mode that messes up existing code is quite another. So you're looking at keeping the support dual but changing the userland approach to it, did I hear you right? > Obviously this would depend on what we find when we work on the migration > methodology as there's not enough input to make that judgment call today. > Also we will see a lot of pain when it comes to anything which is coming > in from the outside PHP so we may very well see changes in those areas as > the breakages become more apparent (e.g. file system, GPC ...). Add to that 'Apache, ICU'. Speaking just from the doze build perspective, we're caught between a rock and a hard place there. > Performance benchmarks may also come in handy as a data point for whether > we go down the explicit or implicit route for Unicode strings. > Net, net - I agree that the unicode semantics switch is going to bring > along more harm than good in the long term. Let's just not fool ourselves > with what we have to get done in order to make PHP 6 a success. Hopefully > a lot of the new active people on this list can step up and help the rest > of the core team both with porting functions to PHP 6 and also help with > the methodology. So can it go away now please? It's the switch everybody definitely wants to lose, not the code itself. The code itself, the dev team probably won't want but the rest just might. (Opinion.) And as you mentioned earlier... until people try it out a bit, nobody can draw any sane conclusions with regard to its usefulness anyway. The biggest point is that The Switch actually has been tested and found wanting, even at this early stage. Read: it's too sudden and too soon for it to be implicit. (Opinion. Oh that's two. Guess I'm opinionated then. Or does that require eight?) - Steph > Andi >