Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61870 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38108 invoked from network); 30 Jul 2012 08:45:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2012 08:45:40 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:41371] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/92-16347-2B946105 for ; Mon, 30 Jul 2012 04:45:40 -0400 Received: by obfk16 with SMTP id k16so10201152obf.29 for ; Mon, 30 Jul 2012 01:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=J7vofNr4YPq0jDRHorR1ZBLfRWK+REk9+DQqH+hVBMk=; b=QGqJFHXY2cn9+fr2LJ3/weatu/0xCjulcD2TzH8mt6nz2HZZCnc1QOLUKeN1hf7CnY N/ixn5CmJ1dHL9/L2Y6L+akb4M+wSlqwW0BGP4v7aKLmJvoM00vbtWb/5MxOI0bfJXGT PjjnkJDp7YUeimuqacXd2XUlc1IKsWiSuwJZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=J7vofNr4YPq0jDRHorR1ZBLfRWK+REk9+DQqH+hVBMk=; b=kvvs920zbgIBs4PcWA7GZaV6CJhczr518CEHMrNPVnZ5kSnAANuAM44rTMj2OdkInS E34F0Uoy3FhhsX/yubP6Wnsr5dmaudFIx2xhH2Xt81SHQ7UPv6uQjT6ZAZ9fyW/cLWSR Hqo2u1ctfMiqPymvZEdt3kG9GALL+naKkiW38kIMk+bZs5gIFQJJS9oUHd17qqE0yo1m WofOUiLAuu6AKQBPAR5MHRp5BnwcO75Q7TSltkBcLq0/wUhwz81JoVa7YAzbHTB0m955 YWa/AX6uBIdEk0PYwwXelM0C903wuU+ZU1tKDsHDI6O7PE/kZixZB+itoGfglX2/3d+d sdSg== Received: by 10.182.192.41 with SMTP id hd9mr16411050obc.17.1343637935954; Mon, 30 Jul 2012 01:45:35 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.76.125.228 with HTTP; Mon, 30 Jul 2012 01:45:15 -0700 (PDT) In-Reply-To: <50163FAD.4020004@lsces.co.uk> References: <50163FAD.4020004@lsces.co.uk> Date: Mon, 30 Jul 2012 16:45:15 +0800 X-Google-Sender-Auth: UNCBkSzebFsrLsL6fO_UD5vh1Cc Message-ID: To: Lester Caine Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlbb9Por9AE0TvuWePkfKK8QYWaD80lJcTGx8d0PcbnE1KzchB4BbJjMS0ZXqYCq6MaV9Z5 Subject: Re: [PHP-DEV] Bringing users along ... From: aharvey@php.net (Adam Harvey) On 30 July 2012 16:02, Lester Caine wrote: > Moving people from 5.2 is probably going to be as bad as killing off PHP4 > and 4.6% of sites are still using that! But the main problem starting to > happen now is that developers are upgrading projects to use 5.3 and 5.4 > features, but simply assuming that the user is working with the latest. > 'Security warnings' get people to upgrade their own installs, but on top = of > a stack provided by their hosting company. Result ... sites stop working = ... > please can developers take a little more care checking for compatibility, > and at least warn if something will not work on earlier versions of PHP. What, specifically, have you found that isn't covered in the release notes and/or migration guide for PHP 5.3 and 5.4? Documentation bugs would be awesome here. (Patches would be even more awesome.) It's hard to improve this without detailed information, since the migration guides feel reasonably complete at this point. > Promoting PHP5.4 to the distributions should perhaps be done a little mor= e? What additional promotion do you have in mind? > SUSE still does not have even an experimental version of 5.4, and the > private build doesn't work with it's own apache 2.4 or the stock 2.2. SUSE seem to be an outlier here: Fedora 17 has PHP 5.4, Ubuntu 12.10 will ship with 5.4, Debian testing and unstable have 5.4, FreeBSD has 5.4 in ports, and Arch has 5.4, to name but a few. > If the distributions are not using 5.4 what chance is there of the ISP's > switching? Agreed, but as I said above, I think the distributions are using 5.4, generally speaking. > So what is the best way of getting the user base behind us using even PHP= 5.4 > so that any discussion of even more changes in PHP6 makes sense at all? The same chicken and egg scenario once existed around PHP 5. The community saw the merit in PHP 5 (5.2, specifically), and created gophp5.org (now squatted, sadly) which was a rather successful campaign to raise awareness of the issue, and ended with the situation we're now in where most actively-developed frameworks and projects require PHP 5.2 or 5.3 and use their features. (It's also worth remembering that the BC concerns aren't as drastic for a lot of people as they seem to be for you, Lester =E2=80=94 a lot of codebases seem to hav= e been migrated from PHP 4 to 5 with little to no hassle.) So I think the answer, largely, is "build it and they will come". I'm not claiming that our migration documentation or BC are perfect as they stand. They can always be improved. But beyond documentation, I'm not sure what else we can do from Internals, short of sticking a fork in the language, calling it done, and never adding another feature. Adam