Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110509 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 6637 invoked from network); 15 Jun 2020 09:27:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2020 09:27:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A02821804A8 for ; Mon, 15 Jun 2020 01:12:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 15 Jun 2020 01:12:50 -0700 (PDT) Received: by mail-yb1-f176.google.com with SMTP id j202so8554655ybg.6 for ; Mon, 15 Jun 2020 01:12:50 -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 :content-transfer-encoding; bh=AuC9Mr5gXPdT2GixbeTbI1Lozo+BXP3VIrhJh8PbA8Q=; b=sbGv9eL78U488pr5moJcSAm8l47vIjqGCFbFfL4W3YXt4OMLOrrAMqyi310lbCGxD1 7v85aLXS+GUPnDuMMwSAxbZJiue8C7tUSCEXio/e4sGzvJIa5m52ivWUbGYJiJDfFy9T 2/1bYI+Xg7YmxpudQ483YmNqaJmXHNf22UUW9/lgHOo50D5Qu5iQhnd61Rir47nzNdTH c34ZfbWsKxIHdp0agJrByTa/RaENHkp+TdGdiDBlprNt49G7oYy99OjlVdITCiL+OMsd ydXaABB2JQo5UJ1LjPwpmgSh/7XnHYEs5m7RZLCLRLZAzdtRRFTdoxzwa596ESCuoenu mgUQ== 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:content-transfer-encoding; bh=AuC9Mr5gXPdT2GixbeTbI1Lozo+BXP3VIrhJh8PbA8Q=; b=n0nTxvKOLisVEqkWjIVDmwUQN2zdZU/ctmhsSiIK24X0qy7DCkKrrZ9gFV/n59yIrG WmaSO7oS2y50TORUTJOXqao7GT+WzXbR1u+8ASjLC4zfi9S2T6mKpijuHy1RFVlgqLM1 /qFfOiO55RxYeHIWZiUIHZzgpT5OZdNDwDbLzj3OyTdNCHRPdNGmxQOn9szoP7UBoJ4e dAWiBK8Eso4COGrjnLH0jA3DQrBnmF9Xoq3iaNs81aLWPDNF3zZnU6kERbTBB4wijSmD nCCqfFXkH3SR/FWoYFl09Q1vNd/+X4reBj0rsmfO7+6VUe1LddlY3xm9Xa1wEl4W22JN 9Prw== X-Gm-Message-State: AOAM530Iz2qpHepYg2zt9LtQhfGCp/y3aipSzeA6NLPJBK+lV/cjaCwH 0tFAwVeeJenZEheyu2Y5Vrq8Ay7jpVtrDHP77UnsqVUR X-Google-Smtp-Source: ABdhPJyK8qfYohRP6t6o/wbmBnl3o1Q67eIBSEv09+BEuQTiCEMMRMkk0z5us6qk2gJk+34nUeqmyEqcBTPgKvLF1+w= X-Received: by 2002:a25:a026:: with SMTP id x35mr40703023ybh.114.1592208766803; Mon, 15 Jun 2020 01:12:46 -0700 (PDT) MIME-Version: 1.0 References: <7552A7C3-7F13-43D2-970C-AEDBB5602AB1@gmail.com> In-Reply-To: <7552A7C3-7F13-43D2-970C-AEDBB5602AB1@gmail.com> Date: Mon, 15 Jun 2020 10:12:35 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Reserve keywords in PHP 8 From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi Kalle, hi Matthew > We stopped trying to future proof code by soft > reserving after PHP6 turned out to be nothing and most of the features > were ported to PHP5.3. I wanted to reduce resistance to the RFC I'm planning because of BC breaks in a minor version. For this reason I would personally prefer to have the BC break in a major version but I'm ok with either approach. It's worth noting that we did indeed register some keywords in PHP 7 before they were used: https://wiki.php.net/rfc/reserve_even_more_types_in_php_7 > An enum implementation seems like something that almost certainly > will make it into the language in the next 4 years, given PHP=E2=80=99s > gradual adoption of features that already exist Hack (e.g. attributes, > constructor property promotion). Yes, this is my sentiment too. Ilija