Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120592 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50042 invoked from network); 15 Jun 2023 15:16:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2023 15:16:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BB321180089 for ; Thu, 15 Jun 2023 08:16:53 -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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 176.9.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 15 Jun 2023 08:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1686842211; bh=FznwS6NCWGA5BcjJZAjn/Q5v377HzSvuRsIzos32gYs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=XRa9KZZi/5V31UIbG34pMvs/4+fD5y/riVH2mFlr4lCY6DbIIsz3Cx6nWRXGZlHjR ZLkgEyqexp5oJWAjfbwyYT76Q2Nsqi3a6gsqxhoZPQNczjDjzoQ41kEkMUjOtIFwjj E2zcJhvsRaGdrFs5+Slbr7Owc1RS8K6lgXk7gvHFUJAcHgpwmoLRehzjG1E9/nnrb3 FaJZDpqcpqU7mwM0L+GA+JG86BY8VXi946tbsxrxtYB5d3aRP2FE/6KvKmPIICKufb Md/os7+AuFLPHXgnRZP0RUkfv02xaSwOPakZoSMn1BfTmBBMum4dfGtFOsn2KX+jit MaZaFIXrpALJw== Message-ID: Date: Thu, 15 Jun 2023 17:16:50 +0200 MIME-Version: 1.0 Content-Language: en-US To: Deleu , Levi Morrison Cc: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] Interface Default Methods From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=c3=bcsterhus?=) 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 code > written prior to the feature. The additional note about how users may break > BC by using the feature would be a description of the feature itself, thus > 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üsterhus