Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10988 invoked from network); 16 Dec 2014 22:39:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2014 22:39:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.176 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.212.176 mail-wi0-f176.google.com Received: from [209.85.212.176] ([209.85.212.176:50258] helo=mail-wi0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/C6-08594-594B0945 for ; Tue, 16 Dec 2014 17:39:18 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so13807004wid.15 for ; Tue, 16 Dec 2014 14:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ajQVco1oMPpdUJz9x4Dw8NHOzUFGQ/y7lrYpwQI1hNI=; b=ObT6m5CpzdNeou+UGN6nWfotR5DvVuk0z1IPcDiO6/mFARWUpuTE72slZaam7SdMv3 +ZZ4MMFZiZzYufUceoXyBYkk1Va6njgXzKlQaVV+jVAQ+uvCqo51UN838BAURpivXd2z pQS5ENbysNAXAFsOsLqarmaqTof+IjzXy5WhU9fTVmMbDTmUVi1z+z2+cYg2ApjMJ3lX yLZTvkdvA7AV+EKxy83X0vWY7cz6cB3OThnnQvm2hTOw/rPMIKaX6ZPPTvFWUrKGLyUD S8g6TwTPw9J4Aa5Ei9uGluQbKTEgWryp1AeQHxgwslvZR6mV9b2GT7I54oFGwiiPYMpK PNxg== MIME-Version: 1.0 X-Received: by 10.194.174.72 with SMTP id bq8mr63884713wjc.120.1418769554271; Tue, 16 Dec 2014 14:39:14 -0800 (PST) Received: by 10.180.88.33 with HTTP; Tue, 16 Dec 2014 14:39:14 -0800 (PST) In-Reply-To: References: <8C1EFD82-CFE0-4D01-9231-2A1658B182A6@ajf.me> Date: Tue, 16 Dec 2014 23:39:14 +0100 Message-ID: To: Zeev Suraski Cc: Julien Pauli , Florian Margaine , Rowan Collins , PHP Internals Content-Type: multipart/alternative; boundary=089e013d1a644cf6b3050a5d07ba Subject: Re: [PHP-DEV] [RFC] PHP 5.7 From: tyra3l@gmail.com (Ferenc Kovacs) --089e013d1a644cf6b3050a5d07ba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > > - Rolling out a 5.7 with Warnings-of-any-kind + some little-or-not new > > features cancels point number one > > > > What else ? > > Do nothing is still (IMHO) the most sensible option IMHO. We're not seei= ng > major compatibility breakages in 7.0 (at least not at this time), to the > level that upgrading through some middle version is really all that > necessary. we don't have much or really big ones(yet), we have a couple of nasty ones (eg. doesn't blow up, but behaves differently, check the mails from Derick complaining about those). and there are a couple ones upcoming/likely to make it through: https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 https://wiki.php.net/rfc/remove_php4_constructors > Considering the adoption levels of 5.6, 5.5 and even 5.4, we can > expect that most people migrating to PHP 7 will not be doing it from one = of > the latest PHP 5.x versions, but older ones, rendering all of these optio= ns > useless. while I hope that you are right, but I think that PHP7 will be really interesting for two kind of people: - people who are looking for performance gains, even if it makes rewriting some code (and those who can this way have a feasible alternat= ive instead of moving to hhvm/hack). - people who wants to start a greenfield project and for some reason they already decided to do in in php (because they already invested into the technology or because php is a really good choice for their usecase) and they are able to control their infrastructure so that they can have = 7.0 on it. - they really need a feature which only 7.0 has and doing it in userland would be too hard to do or unfeasible (not sure if we have something lik= e this in 7.0). Worst case the others will probably upgrade in the same tempo as they are currently doing or the way they did with php4 vs php5. I think that the only thing which really had an impact on the adoption rates is the fact that we provided stuff what modern frameworks/apps needed and made it easier to users/distros to upgrade. I think it is important to not forget those, and sometimes I feel that we are focus too much on shipping PHP7 only with the performance gains already present or to force people to upgrade (instead making sure that we provide what they want and the easiest upgrade path possible). > The one option that could be relevant to these scenarios is a > separate analysis tool, but it's much more difficult to pull off, and I > don't think the level of breakage (as it appears right now) justifies the > effort. > > fortunately we already have a couple of those for some of the nasty changes like https://gist.github.com/nikic/ffd019ef78b72934c7cc for finding code which would be affected by the behavior change of https://wiki.php.net/rfc/uniform_variable_syntax I do think that while those kind of extra steps are not mandatory per se, but they help a lot when convincing people to jump the ship and upgrade. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --089e013d1a644cf6b3050a5d07ba--