Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-04-05 Thread Tim Düsterhus
Hi Am 2025-03-20 17:09, schrieb Gina P. Banyard: And another user [2] was basically suggesting my previous solution of adding support for type classes/runtime implementation of interfaces. […] [2] https://www.reddit.com/r/PHP/comments/1jbcbtx/comment/mhvxo5j/ I don't see how this could (usefu

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-04-05 Thread Gina P. Banyard
On Saturday, 15 March 2025 at 09:23, Juris Evertovskis wrote: > On 2025-03-14 10:09, Juris Evertovskis wrote: > >> Hello, >> >> I’ve opened the vote on the Optional interfaces RFC. >> >> https://wiki.php.net/rfc/optional-interfaces >> >> Implementation: https://github.com/php/php-src/pull/17288 >

RE: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-29 Thread Juris Evertovskis
Hello, The voting has concluded with 15 votes in favor and 19 against. As such, the RFC has been declined. https://wiki.php.net/rfc/optional-interfaces Thank you all for taking the time to consider the proposal and casting your votes. I'm especially grateful to those who helped refine t

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-26 Thread Levi Morrison
On Fri, Mar 14, 2025 at 4:12 AM Juris Evertovskis wrote: > > Hello, > > > > I’ve opened the vote on the Optional interfaces RFC. > > > > https://wiki.php.net/rfc/optional-interfaces > > > > Implementation: https://github.com/php/php-src/pull/17288 > > Discussion: https://externals.io/message/12618

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-25 Thread Ben Ramsey
On 3/14/25 03:09, Juris Evertovskis wrote: Hello, I've opened the vote on the Optional interfaces RFC. https://wiki.php.net/rfc/optional-interfaces Implementation: https://github.com/php/php-src/pull/17288 Discussion: https://externals.io/message/126185 The voting will be closed on 2025-03-2

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-21 Thread Juris Evertovskis
On 2025-03-20 18:09, Gina P. Banyard wrote: And another user [2] was basically suggesting my previous solution of adding support for type classes/runtime implementation of interfaces. Hey, There are two ideas -- the `$object implements Iface` that you suggested and the `SomeClass implements

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-20 Thread Larry Garfield
On Thu, Mar 20, 2025, at 11:09 AM, Gina P. Banyard wrote: > Frankly, the comment from u\phuncky [1] mentioning the possibility of > bad interactions with default interface methods (something I think is > more important than this) is reinforcing my opinion that this RFC solve > the problem in a

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-16 Thread Alexandru Pătrănescu
On Sat, Mar 15, 2025, 11:25 Juris Evertovskis wrote: > The key point, hoewever, seems to be that the naming of the feature is > excremental and very easy to misunderstand. I suppose the naming issue can > be solved separately (if a better name is found) and the documentation can > use a different

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-15 Thread Jakub Zelenka
Hi, https://wiki.php.net/rfc/optional-interfaces > I voted yes as we have got a specific use case in core - user stream wrapper. More details can be found in https://github.com/php/php-src/issues/10506 . Regards Jakub

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-15 Thread Juris Evertovskis
On 2025-03-14 10:09, Juris Evertovskis wrote: Hello, I've opened the vote on the Optional interfaces RFC. https://wiki.php.net/rfc/optional-interfaces Implementation: https://github.com/php/php-src/pull/17288 Discussion: https://externals.io/message/126185 The voting will be closed on 2025-

Re: [PHP-DEV] [VOTE] Optional Interfaces

2025-03-14 Thread Jakub Zelenka
On Fri, Mar 14, 2025 at 10:52 AM Jakub Zelenka wrote: > Hi, > > https://wiki.php.net/rfc/optional-interfaces >> > > I voted yes as we have got a specific use case in core - user stream > wrapper. More details can be found in > https://github.com/php/php-src/issues/10506 . > > Ah I should have pro