Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31833 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37666 invoked by uid 1010); 22 Aug 2007 12:24:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37650 invoked from network); 22 Aug 2007 12:24:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2007 12:24:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=davetheavephp@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=davetheavephp@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: davetheavephp@gmail.com X-Host-Fingerprint: 64.233.182.191 nf-out-0910.google.com Received: from [64.233.182.191] ([64.233.182.191:56923] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/12-20407-BEA2CC64 for ; Wed, 22 Aug 2007 08:24:12 -0400 Received: by nf-out-0910.google.com with SMTP id e27so101268nfd for ; Wed, 22 Aug 2007 05:24:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nEkBOQWZz1+U96QCvBw6fjArdusNIk6mcWmz34o8RFVxXu5BAfXrcAjiwC9BBBh2FlTkce+BDYxzjCe/9DS2M1VFZqpVq+a36rK7BhffXPT4fIK7LcepSojm7FaNrunb1INf02buyP33M8n6OjQvhcViIm9bYcvhRgd8UitEYr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YEAIp3n/0qqKizRwO5SwlhBhTevt0F+Ye9zz2oQNCAzWNKuOjK3P+FW7LZ7le07W15aossjgA/5kQIHg7qLnIbHzSsUU0jsCHHlttz5beAF5M/FVajJ4E/g3SGqorSEV5r3P36APchhdpeOFX2UX2mEbaplkl9GNzw1bfBAKlgg= Received: by 10.78.147.6 with SMTP id u6mr410194hud.1187785444853; Wed, 22 Aug 2007 05:24:04 -0700 (PDT) Received: by 10.78.182.9 with HTTP; Wed, 22 Aug 2007 05:24:04 -0700 (PDT) Message-ID: <5b8e8f9e0708220524n32671b8avb3ef1450044f6c0d@mail.gmail.com> Date: Wed, 22 Aug 2007 08:24:04 -0400 To: internals@lists.php.net In-Reply-To: <200708212025.29249.larry@garfieldtech.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45314_2772135.1187785444803" References: <1181829227.3478.3.camel@localhost.localdomain> <46CAF607.4030208@pooteeweet.org> <698DE66518E7CA45812BD18E807866CE92D94C@us-ex1.zend.net> <200708212025.29249.larry@garfieldtech.com> Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: davetheavephp@gmail.com (DaveTheAve) ------=_Part_45314_2772135.1187785444803 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Why can't the unicode switch be turn on/off by the application when needed? Perhaps have an on/off/auto setting where auto meaning it'll remain off unless the application explicitly asks for it. On 8/21/07, Larry Garfield wrote: > > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Thank you, David Branco (Neoelite Web Consultant) http://www.NeoeliteUSA.com ------=_Part_45314_2772135.1187785444803--