Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25478 invoked by uid 1010); 22 Aug 2007 01:25:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25463 invoked from network); 22 Aug 2007 01:25:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2007 01:25:47 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 204.127.200.85 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 204.127.200.85 sccrmhc15.comcast.net NetCache Data OnTap 5.x Received: from [204.127.200.85] ([204.127.200.85:58335] helo=sccrmhc15.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/30-20432-A909BC64 for ; Tue, 21 Aug 2007 21:25:47 -0400 Received: from earth.ufp (c-71-228-13-89.hsd1.il.comcast.net[71.228.13.89]) by comcast.net (sccrmhc15) with ESMTP id <2007082201254301500pim37e>; Wed, 22 Aug 2007 01:25:43 +0000 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 7080FD81D8 for ; Tue, 21 Aug 2007 20:25:43 -0500 (CDT) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lYQZvRl2qC-6 for ; Tue, 21 Aug 2007 20:25:43 -0500 (CDT) Received: from vulcan.ufp (vulcan.ufp [192.168.42.4]) by earth.ufp (Postfix) with ESMTP id A2DAAD79CD for ; Tue, 21 Aug 2007 20:25:31 -0500 (CDT) To: internals@lists.php.net Date: Tue, 21 Aug 2007 20:25:29 -0500 User-Agent: KMail/1.9.6 References: <1181829227.3478.3.camel@localhost.localdomain> <46CAF607.4030208@pooteeweet.org> <698DE66518E7CA45812BD18E807866CE92D94C@us-ex1.zend.net> In-Reply-To: <698DE66518E7CA45812BD18E807866CE92D94C@us-ex1.zend.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200708212025.29249.larry@garfieldtech.com> Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: larry@garfieldtech.com (Larry Garfield) Andi, Is there a guide somewhere for those who are PHP developers, not C developers, who would want to try existing code under PHP 6 but don't know all the ins and outs of the new unicode system? It sounds like there's 3-4 unicode switches in php.ini, but maybe I'm missing some and I'm sure I don't fully understand what they're all supposed to do. I mean a single-sourced guide along the lines of: - Get PHP-free system. - Download this file: - Untar, run make install. - Do X to get the mysql(i) driver in there too (since more apps use that than PDO right now). - Tour of the new php.ini switches to play with and what they mean/do: - Try running your app. Known places where there may be issues: (Johannes' earlier post is a great starting point) - Please direct reports on your successes and what broke to: A "PHP 6 testers' instruction manual" would probably make it a lot easier to be a PHP 6 tester. :-) On Tuesday 21 August 2007, Andi Gutmans wrote: > If there's an overwhelming support for removing the switch then I guess > that's where it is. I still think it's a mistake and we are risking a > big split in the user base going forward but time will tell. Long term > PHP may not recover from that split unless we truly manage to help the > most popular PHP applications to make the leap. They have been some of > the biggest drivers behind PHP adoption, probably just as much as the > technology itself. > > The burden of maintenance will definitely be higher. Right now we have > to identify what features we think need back porting to PHP 5.3 which in > my opinion looses a lot of good energy which could go into futures but > that's where we're at. The PHP 5 user-base is strong, and growing and > will require a lot of these features. > > I still think that the community and internals@ should still invest > significantly in making migration as easy as possible and making clear > what the performance attributes are. As I said, I'll be more than happy > to pitch in when the time comes in running benchmarks and trying to > figure out if a good migration methodology/scripts can be done. There > are also some backporting of features which may make it easier for > people to do a slower migration like (binary) cast (would be a no-op) > and some other things. Still need to think about this further but there > may be some things that can help. > > > Andi > > > -----Original Message----- > > From: Lukas Kahwe Smith [mailto:mls@pooteeweet.org] > > Sent: Tuesday, August 21, 2007 7:26 AM > > To: Andi Gutmans > > Cc: jani.taskinen@iki.fi; internals@lists.php.net > > Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP > > 6? > > > Hi, > > > > Ok, so I think its becoming clear that BC is not the main issue we > > will > > > be addressing with the unicode switch. I know Zeev's mantra that BC is > > not binary, but from the people that have posted feedback on the topic > > from actual experience it seems that making code work on PHP5 (and > > even > > > PHP4) as well as PHP6 is possible with a bit of work, but without a > > rewrite. > > > > So at this point the main argument can only resolve around > > performance. > > > So the question is how much performance does a user gain by turning of > > unicode in PHP6. We might be able to figure this out without porting > > an > > > actual application. Maybe with a few synthetic benchmarks, along with > > some code analysis (maybe for 3 different categories of applications: > > data processing intensive, web blog, database heavy application)) of > > how > > often particularily slow functions are called in an average > > application, > > we could extrapolate a ball park figure of what kind of slow down to > > expect. > > > > regards, > > Lukas -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson