Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102706 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1569 invoked from network); 10 Jul 2018 12:18:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2018 12:18:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas+php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.49 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.218.49 mail-oi0-f49.google.com Received: from [209.85.218.49] ([209.85.218.49:39202] helo=mail-oi0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/A3-15421-824A44B5 for ; Tue, 10 Jul 2018 08:18:49 -0400 Received: by mail-oi0-f49.google.com with SMTP id d189-v6so42127387oib.6 for ; Tue, 10 Jul 2018 05:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZixD2ArqkuI/Ywwr2Dgk7kIT/g22+n5pk0lzmOvVx5o=; b=lxJxiIrHOS6V6nMTAg/oK2j7FGogWzYewSTBomh+NErhdSCvqqoLB2+p8X10hFqoqa EsfOtoJwQF+ldSZPDA7lWJqkzlKXm2Pwva9z8Cio3PvrVY/39Ndbid7Jao0ORYnTcnjn +B1v1vZpTxJYe4RS1ogUKy3DTQJDlQ59ib8TEwcBRMJXkrV1DEO1NdfaaF/4EZGNDnbP kJJer8gUOeHyjSjVzmBYv3IjzNwk+Bt9Bdswu7sqkl+8Mjd7A3TW2Xou7JaJGtAWVc0q lOrcs1E5OoeExBHR9XI7NTBuOgFv6wuXJviyfPlNQGY6DwOSzQIiffzh1yTgOk2Qi98/ 2MqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZixD2ArqkuI/Ywwr2Dgk7kIT/g22+n5pk0lzmOvVx5o=; b=DQ7HCjk4hsfL8sHsKGWBABgrMSqz6jMk6MCGHsuzuodQLf3lrb6oX6QfwCOe+T1Byv RRGtJa9G1dSjMxsPvj30VsJ/rt7il1ZOVvJpW2qY/xCS6A0H90six/7g7UoGoLQ3B/QO RESQPIQvsc5kectTxGypqyMRMK+PwBmkvkGg44vSaBTXjtw+uBVVBhu1UMKf3jbjkMcV PzzRyCNTVWgeUNTiQivUYI33hCOtvfSbwCOulpQ87SvcxN7qlAVreUFRS8q1FZ5ke10W W9NcNFxFSS7KNy9nX+Sr2BxnFh30ICLQHex2Zg9RWG1B3z1eSwRhQ1S5Qlk4kO5wct3H RW1A== X-Gm-Message-State: APt69E3KJ0jZyCqMoUW0ZwbQPya108nkRqwN8h3i0RrAdAlj5AoLuiFv EjHVfd0IjbfWIMR5KOkWP553twXqcKs8Tnc0Lwg= X-Google-Smtp-Source: AAOMgpd3P1NPXv7oF+/L2ftxeyBDIPNxuOPzKbD01dSHjqK1MIqpN+b5e4AqKDyrB02f5+zPDZmpDaZvD0exXg8n1NM= X-Received: by 2002:aca:e6d4:: with SMTP id d203-v6mr26101122oih.311.1531225126099; Tue, 10 Jul 2018 05:18:46 -0700 (PDT) MIME-Version: 1.0 References: <10e578d7-7a24-3ca0-ca0d-d5ed1a39dca3@telia.com> <80a8f588-05a3-48e5-bf40-bf1685b3105e@gmx.de> In-Reply-To: Date: Tue, 10 Jul 2018 15:18:29 +0300 Message-ID: To: Zeev Suraski Cc: mail@pmmaga.net, Marco Pivetta , =?UTF-8?B?QW5kcsOpIFIu?= , Zeev Suraski , Sara Golemon , PHP Internals List , nicolas.grekas@symfony.com Content-Type: multipart/alternative; boundary="000000000000b6603b0570a4214f" Subject: Re: [PHP-DEV] [RFC] Typed Properties From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --000000000000b6603b0570a4214f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mar. 10 juil. 2018 =C3=A0 14:56, Zeev Suraski a =C3= =A9crit : > On Tue, Jul 10, 2018 at 2:06 PM Pedro Magalh=C3=A3es wr= ote: > >> On Tue, Jul 10, 2018 at 11:33 AM Zeev Suraski wrote= : >> >>> I've also given several examples - some of them arguably quite bigger >>> than >>> this proposal - where we sat on code for a very long time (multiple yea= rs >>> even) in order for it to be included in a major version, and not a mino= r >>> one (phpng, JIT, FFI) even though technically they could go into the ne= xt >>> available minor. >>> >> >> Hi, >> >> I'm trying to understand this argument better but there is something I'm >> missing. Why would a feature like JIT (which would be transparent to the >> user AFAIK) need to wait for a major other than marketing reasons? >> Sorry in advance for the slightly off-topic question. >> > > Major versions are in many respects "marketing" events. They're an > indicator that big changes have happened in the language, big enough to > warrant a change in the major version. > It's a relatively recent evolution that we decided to only make it > possible to break compatibility in major versions (and it's a very positi= ve > evolution, without a doubt), but either way - compatibility breakage has > never been the motivating factor behind a major release. Major releases > enable compatibility breakage, not the other way around. > Major features have always gone into major releases (with one notable > exception - PHP 5.3, which many argue was a de-facto major release). > > While 'marketing' always played a role in designating a certain version a= s > major - getting people more motivated to upgrade, bring positive vibes an= d > attention around the language, etc. (as was the case with 7.0) - since th= e > formal release process and the policy change to only allow compatibility > breakage in major versions - these compatibility breakages actually, to a > large degree, 'piggyback' on the major new features. To make it more rea= l > - what would the migration to PHP 7 look like if it was all about the > compatibility breakages, and not the performance boosts or for that matte= r > - scalar type hints? Both of these (performance boosts and scalar type > hints) could easily go into 5.7 from a purely technical perspective. > > Zeev > Just to clarify my previous statement: marketing is a good reason to bump a major version. Doing so creates momentum after the release and motivation before. I just don't agree that typed properties are part of that. They are a really natural and important feature, but not one that will allow anyone to do anything new that wasn't possible before. JIT and/or async are game changers. They don't play in the same category to me. Others might disagree of course, and I don't want to minimize their importance nor the work of Nikita and Bob. Kudos to them actually. Nicolas > --000000000000b6603b0570a4214f--