Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30995 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57124 invoked by uid 1010); 17 Jul 2007 06:51:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57109 invoked from network); 17 Jul 2007 06:51:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2007 06:51:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:46614] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/B0-44341-6266C964 for ; Tue, 17 Jul 2007 02:48:07 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 74DC7DF0154; Tue, 17 Jul 2007 08:48:03 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16896-02; Tue, 17 Jul 2007 08:48:01 +0200 (CEST) Received: from [192.168.1.46] (49-120.5-85.cust.bluewin.ch [85.5.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id EDFE7DF00F8; Tue, 17 Jul 2007 08:48:00 +0200 (CEST) Message-ID: <469C660E.8050009@pooteeweet.org> Date: Tue, 17 Jul 2007 08:47:42 +0200 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Larry Garfield Cc: internals@lists.php.net References: <698DE66518E7CA45812BD18E807866CE648191@us-ex1.zend.net> <469B7FB1.1070507@pooteeweet.org> <698DE66518E7CA45812BD18E807866CE648290@us-ex1.zend.net> <200707162036.52216.larry@garfieldtech.com> In-Reply-To: <200707162036.52216.larry@garfieldtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] POSIX regex From: mls@pooteeweet.org (Lukas Kahwe Smith) Larry Garfield wrote: > Non-core PHP developer speaking, so read with that in mind: > > One of the things that held back PHP 5 adoption for so long, IMO, is the large > amount of FUD that surrounded it. Even now, 3 years after it was released, I > keep seeing the argument that "I can't drop PHP 4 and use PHP 5, then I have > to rewrite *everything* to use objects. I hate objects." That is, of > course, completely untrue, and if you're paying even moderate attention it's > not at all difficult to write code that runs just fine in both PHP 4 and PHP > 5, with and without register_globals and magic_quotes. All it takes is a > little forethought and not letting yourself be sloppy. I have seen little of that. But I have seen issues due to array_merge() changes. But more importantly our handling of E_STRICT has made it difficult for many. > Writing PHP 5/6 compatible code needs to be just as easy, if not easier, in > addition to having better marketing to head off the FUD. Taking a stance > of "you'll have to start from scratch if you want to be PHP 6 compatible, oh > well" is an absolutely sure-fire way to guarantee that no one uses PHP 6 for > anything except niche markets. I see it more as a question of being open about whats going on. If we would have had the upgrading guides from the beginning of 5.0.z, I think things would have been easier. The fact that our x.0.z releases are not particularly popular is another issue. I think the biggest challenge PHP5 faced however was that it was mainly about making developers life easier, since PHP4 already enables you to do pretty much any kind of web site if you are willing to put in the required time. Native unicode to me feels a bit more like adding something that was not really doable before (sure you can but that would mean writing every lib yourself, so the time required is beyond the vast majority of dev teams). Then again its not like all developers will jump on unicode the second its released (mainly because not all end users are asking for this). But the point is, getting very high adoption rates for new PHP releases will always be hard. regards, Lukas