Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79662 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59174 invoked from network); 15 Dec 2014 18:06:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2014 18:06:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.223.169 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.223.169 mail-ie0-f169.google.com Received: from [209.85.223.169] ([209.85.223.169:35637] helo=mail-ie0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/E5-16076-F332F845 for ; Mon, 15 Dec 2014 13:06:55 -0500 Received: by mail-ie0-f169.google.com with SMTP id y20so11308155ier.14 for ; Mon, 15 Dec 2014 10:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=B03okeXnoYOhMVVnmtXWBuqzrDboO2ojkHEep5nTv0M=; b=UNeYrawwLevaVP8awvZst1kVArKehMP1gArGqBdiY/dw/dErGWwSN2UdcqwfCRD7O9 2Fc5kpSJ9rst8k95+m03NQg+tyxNv1q0/lmc6IOvBFDbnZeQ3G51nquEkDkMuP+s2jOQ Ab3EVLujbnTBUhc21wyC+PW8dEI8qxcdPAZ5o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=B03okeXnoYOhMVVnmtXWBuqzrDboO2ojkHEep5nTv0M=; b=FVoinY8T7bOt0jSlK7VGA32sGdAHm4gTVY7Eyu5wEYp60/+H02BBlmbNUaCa4j2sQi bXACp5l9NwO6L9U57ON3qF4Lt58nrjrHgAJpJ+MLrKQ5X0G9PoUcwOqE+PcU7OQZRnuI zWmGIRF6jf4fUjabV+YqOIZGgVYfWh+YqzZXpPWOgnLQ89vE2lX1R+L4cTpKs2M+VRTK exnljP20ryk0/Bd2nmEBhU6NrDsGRrCbvqevP3J4GfunneOUk5nWJWagbNrwUreWBaMr /lvQA973FtrLUztcmToOKqF9IpfXsn17l3XfE5cmTNWc5K3JUKDF7G20rXiLx53eNQVd fJNQ== X-Gm-Message-State: ALoCoQlF/EzaR1ILjFpP8y16fcz+kgGQhHG2R3fHe6v+mA3NhsXh08h61F1nQxl1EubPuCW1rzGx X-Received: by 10.50.29.3 with SMTP id f3mr18982846igh.23.1418666805641; Mon, 15 Dec 2014 10:06:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.86.129 with HTTP; Mon, 15 Dec 2014 10:06:25 -0800 (PST) In-Reply-To: References: <30315309863fc1883f187e2f6777d081@mail.gmail.com> Date: Mon, 15 Dec 2014 10:06:25 -0800 Message-ID: To: Zeev Suraski Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] On the road to PHP 5.7 , or not ? From: adam@adamharvey.name (Adam Harvey) On 12 December 2014 at 23:19, Zeev Suraski wrote: > 3. Last (and probably least) - a 5.7 that breaks compatibility is > inconsistent with our version strategy, that suggests 5.7 should be fully > compatible with 5.6. Whoa =E2=80=94 I'm not talking about breaking compatibility. I'm talking ab= out generating deprecation warnings on things we know are going to break in PHP 7. Travelling backwards a point: > 2. My position about 5.7 that's minimally different from 5.6 and just > 'helps migration', is that it's practically useless. Users won't go thro= ugh > the headache of hopping through two versions, for some supposed unknown > benefits. PHP 7 breakage is going to be fairly localized to specific > areas - not so much the engine changes which barely breaks anything. So = if > 5.7 'breaks' the same areas that 7.0 does (keywords, warnings in the righ= t > places, etc.) - migrating to it would essentially be as painful (or > painless) as migrating to 7.0. In other words, no benefits to doing this > extra step from the point of view of most users. As I said, 5.7 wouldn't break anything, to my mind. The point is to provide a way for users to get a heads up on what things they need to be looking into to either migrate to PHP 7, or have a single code base that runs on both PHP 5 and 7, depending on their needs. The Python experience suggests that both of these cases _need_ to be supported, and well. Why wouldn't we =E2=80=94 the people best placed to do= so =E2=80=94 provide the tooling to do that as part of the runtime? The strawman version of your position seems to be that users are going to just migrate to PHP 7 en masse, and that they'll be happy with their code breaking to tell them what to fix. I'm not sure there's any history in PHP or other languages that suggests that's really what will happen, and I think we're doing our users a disservice if we don't make the path to having a mixed 5/7 code base as easy as possible. Adam