Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120595 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55518 invoked from network); 15 Jun 2023 15:52:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2023 15:52:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AA27F1804C9 for ; Thu, 15 Jun 2023 08:52:40 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 15 Jun 2023 08:52:40 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3110ab7110aso1843630f8f.3 for ; Thu, 15 Jun 2023 08:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; t=1686844359; x=1689436359; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=W3/tzE+IHlqLqksOybUDqg5TocgKQwTNUl07bILlx44=; b=eafffCy5CdNn1kQ/lBsFP81elpQB5UmF584HOSOKdrfdrTZVuBLa1FHnAK7td6/Jjx mzjfRNHF2QjW0RY9/j9yzF0y/Bn+oplfvUXezKgvGkrHMnH324+Eh3gsu2PBI9p1dRP3 34XINinVXoyxF3bY22Wx5EV7honjzjwhjnCRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686844359; x=1689436359; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W3/tzE+IHlqLqksOybUDqg5TocgKQwTNUl07bILlx44=; b=BbWmSmXRixTffuDre03+QaOphcMVb20cAnLWbHlv0wjkkApW1SlTOHWYpc1yDvLW49 0msrEhx3ufdAl3MWLfS47jQ42HVRDthvFkCuKPXbWF0Ele9V03gOHyMG1L2ax6dvkKC1 C/laYVEa3Ru94cTXphuqhdqhFQQ9v0TdAY11Ap8fhWnCyvJ+FqR91OjdQLLCYE5kV9bg spRWEVnLTulNxX6K1IPC/25z7xzI3QmMvn20k6HfCUtfI6Nwvb9qa8cE5FBnsHDHw4Lc VfDf45T3OoJCeyMnJP2cojMFs1dQdyxiizss1sPOG+TvcAZcFHHOJRDrmukUChlMNX7n +emw== X-Gm-Message-State: AC+VfDzL5irKUxe6xcOcP8aNrg8+6OwkEf0sd8T5FZ5FnrpPxR2zUtxU 3QyWA10jSZRKsTsIrN8lxloT6mmgaYPSBI8l0L8zVg== X-Google-Smtp-Source: ACHHUZ7dagxEiSZ38TnyD5CE/tY83xyvt0ldhmiX+0jyavgx6bIrkJ6Z7DyWH1gkAhhB1EX1MTLaHyI1Ov3+WVFQ9sM= X-Received: by 2002:adf:f183:0:b0:311:195f:bf64 with SMTP id h3-20020adff183000000b00311195fbf64mr1232775wro.69.1686844359385; Thu, 15 Jun 2023 08:52:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: Levi Morrison Date: Thu, 15 Jun 2023 09:52:28 -0600 Message-ID: To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: Deleu , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Interface Default Methods From: internals@lists.php.net ("Levi Morrison via internals") On Thu, Jun 15, 2023 at 9:16=E2=80=AFAM Tim D=C3=BCsterhus wrote: > > Hi > > On 6/15/23 17:08, Deleu wrote: > > The feature may introduce a new way for *Users of PHP* to break BC with > > *Other Users of PHP*. The language change itself has no impact on PHP c= ode > > written prior to the feature. The additional note about how users may b= reak > > BC by using the feature would be a description of the feature itself, t= hus > > might be best declared as part of the Proposal instead. > > > > There's also the possible impact with regard to static analysis tools, > IDEs and formatters that do not expect a method body to exist within > interfaces and thus might erroneously report such an interface as > invalid. This might be considered an impact on code written prior to the > feature existing. > > Best regards > Tim D=C3=BCsterhus I have added a brief section in RFC impact that code analysis tools will need to be updated. This is implicitly true for many language features, but I see no harm in calling it out in the RFC, so I have done so. Thank you for the feedback.