Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97695 invoked from network); 10 Jul 2018 11:56:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2018 11:56:40 -0000 Authentication-Results: pb1.pair.com header.from=vsuraski@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=vsuraski@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) X-PHP-List-Original-Sender: vsuraski@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qt0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:42175] helo=mail-qt0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/F2-15421-7FE944B5 for ; Tue, 10 Jul 2018 07:56:39 -0400 Received: by mail-qt0-f177.google.com with SMTP id z8-v6so9481246qto.9 for ; Tue, 10 Jul 2018 04:56:39 -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=GBNSJ9rGz4rIHrqo1Wk/i6XDMV19cjl8yvCtrmRv1EI=; b=eD72USyutmKq9pWZsVj4hvDbkOhKz+eAl2JdJcEm2NRRHy7tHORho2C8i6Xu07mocL zlnyZ+V2fGrusTsH+y+oC8vfW/fF0tbuG0kRVBODyoPJjqi5spYgrlpTc6Vsu4yJdEFa BCYltGbYbw3v+Xlb5Q3ongz1H0xcy67swiIAbJ/3W2fVNoWgaxqOx/bQOMFpWNeWj7Cs aaS/Wbqh5xFjBmfq31QfbabMDGXafg5SG3NedW8FMNj6kuS4e35yJDDDez4DBX7GR5Pm OgC6OOGAxEfSpuUuapNutx2UKDau6f8OAULiwe8g3xJVkvUA5wll0iXWM6yTDqflWVVq 0Yzg== 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=GBNSJ9rGz4rIHrqo1Wk/i6XDMV19cjl8yvCtrmRv1EI=; b=dt2RAH5Bhx4oHQe7yU5Iuz7cD3Hi698Q4ocwFuJzBfUAKe4h/PR0B1vy8vZlUXc5Ch QPhoqp3riLrKrHpg8Tw9jZcP1DnaWhUYvxP7HlyHW2otXhrfV6fwNFSsdZO3Mr08RXhn C10iONrYGJpKdRDB++uVzhaUNmceExdTk2ERybRAeG7oIgHiw7Mw2DnfZh3LQJp1k6/w 2Tzf3VQuN5p7AMDkLHxoGteNu4yaWqDXyFsEAZqflL5NHhEOEu+BMKwTkaOmC671XgK3 PV5YQKxpmJHCBZmaX2a3tMunoM2FzbSXujtdZI1Nuhx181eHxPVQm5O145UcfC9vX2ZG YFmA== X-Gm-Message-State: APt69E36NkCXjDG2g1k8sgQvH77pE5ZUHbKHq0q6AnhvEowasx3SwdJM BpB5+9zVnvBQKhIMtgllxX2ANOiiVl09rmQOYMg= X-Google-Smtp-Source: AAOMgpf7XslVb2atntlPlKziLTojwo88HWkttM2dKBNTrDH4AmuKuwzJL0JixQ/fpgYWzZzpTpxhxoXSnh0X3/kjunw= X-Received: by 2002:ac8:1b88:: with SMTP id z8-v6mr22308948qtj.321.1531223796411; Tue, 10 Jul 2018 04:56:36 -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 14:56:24 +0300 Message-ID: To: mail@pmmaga.net Cc: nicolas.grekas+php@gmail.com, Marco Pivetta , =?UTF-8?B?QW5kcsOpIFIu?= , Zeev Suraski , Sara Golemon , Internals , nicolas.grekas@symfony.com Content-Type: multipart/alternative; boundary="00000000000074f3310570a3d2f1" Subject: Re: [PHP-DEV] [RFC] Typed Properties From: vsuraski@gmail.com (Zeev Suraski) --00000000000074f3310570a3d2f1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 10, 2018 at 2:06 PM Pedro Magalh=C3=A3es wrot= e: > On Tue, Jul 10, 2018 at 11:33 AM Zeev Suraski wrote: > >> I've also given several examples - some of them arguably quite bigger th= an >> this proposal - where we sat on code for a very long time (multiple year= s >> even) in order for it to be included in a major version, and not a minor >> one (phpng, JIT, FFI) even though technically they could go into the nex= t >> 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 positive 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 as major - getting people more motivated to upgrade, bring positive vibes and attention around the language, etc. (as was the case with 7.0) - since the 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 real - 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 matter - scalar type hints? Both of these (performance boosts and scalar type hints) could easily go into 5.7 from a purely technical perspective. Zeev --00000000000074f3310570a3d2f1--