Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79669 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80999 invoked from network); 15 Dec 2014 19:42:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2014 19:42:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 74.125.82.41 mail-wg0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:44758] helo=mail-wg0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/01-09641-0C93F845 for ; Mon, 15 Dec 2014 14:42:57 -0500 Received: by mail-wg0-f41.google.com with SMTP id y19so15513216wgg.14 for ; Mon, 15 Dec 2014 11:42:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WhPCE6dxsWjduoMetOxrC5a8XxXBPrkxW63q7ODiV7s=; b=UP0QToEC2mN5erCpPIU5pPysWJqeYqrOcRdBoqOgWztnxmcLVowcdMwkirVbUcX95u pzdhGi6AMCf+n2+6PkZv57NCXlwL80Q1GTz0RklhVuJdw4B0W5gRZorzc7Mx9ci93h6f YKE5oB2yBftOGBetILwv3myWZ6tmXoTVgarTjifo9Wb+lzjCTHZm7PLlG9ORjaCClxmS 7oXn671dSVL8sBKVxyK2v3R5nOcCBqynmA7A3YVOVgyy6UEeav19YuC8RamUV9s6AALM Oj/L5Wz2K1ZMm/8groJJRWzvlLcrZM8duPnIoUAF9T+ZNkFheNTUgVeox0KeUxsY8JtN 6lwA== X-Gm-Message-State: ALoCoQmhUsK8XhkCb0DLlKJKJ6UpOueU3uex2s7Ja0gpfuoInDgPNgt43uHV/5aUGFEagCDciVYsOPzP4biAeZT2EhBc+/nxgHypaHbATjIYOt5DSbc2JlTOhF5YpKlNa9UbgskVq1EVu7w4gP3WrlV+3dd82XC7oQ== X-Received: by 10.194.109.201 with SMTP id hu9mr54694053wjb.45.1418672573339; Mon, 15 Dec 2014 11:42:53 -0800 (PST) References: <30315309863fc1883f187e2f6777d081@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJyn7ksIjUSLHuWzpRlMyebBfiu5gHNh4goAuWAIZQB5DCMxgIIGQxumwcCb8A= Date: Mon, 15 Dec 2014 21:42:52 +0200 Message-ID: To: Adam Harvey 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: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: Adam Harvey [mailto:adam@adamharvey.name] > Sent: Monday, December 15, 2014 8:06 PM > To: Zeev Suraski > Cc: PHP Internals > Subject: Re: [PHP-DEV] On the road to PHP 5.7 , or not ? > > 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 = about > generating deprecation warnings on things we know are going to break in > PHP 7. Ok, that's borderline breaking compatibility if we want people to actually notice it (otherwise it'd be hidden by default settings). But I admit that's nitpicking, withdrawn :) Anyway, the #1 (literally) in my email was that the OP (Julien) clearly had a different 5.7 in mind than what you're describing. > 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 PH= P > 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. I don't think people will migrate to PHP 7 en-masse. Our past experience with major versions (and even minor ones) doesn't support this thesis - it'll take time. But I do think that people who decide it's worth their while to migrate, will migrate and take the pain that it takes to make the necessary changes. The extra pain associated with migrating to an interim version - that does nothing but spew warnings in the right places -and obviously doesn't have any of the other features of 7 - doesn't seem to be = a worthwhile experience for most users. Zeev