Re: [RFC] Interface Default Methods

From: Date: Thu, 15 Jun 2023 15:16:50 +0000
Subject: Re: [RFC] Interface Default Methods
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-120592@lists.php.net to get a copy of this message
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

« previous php.internals (#120592) next »