Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Deleu
> > Stop using `implements` at all and solely rely on `use`. > > My 0.02€ > > Cheers > > Andreas > A Trait is not part of the Type system, it's not type-hintable, it's not mockable, it's harder to do code review (a Trait was modified, what gets impacted?). A trait is just an "easy" way to copy/pas

[PHP-DEV] [VOTE] PDO subclasses

2023-07-03 Thread Dan Ackroyd
Hello internals, I'm opening the vote for the 'PDO driver specific sub-classes' RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses It will last for two weeks and end on 2023-07-17T17:00:00Z cheers Dan Ack -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Levi Morrison via internals
On Mon, Jul 3, 2023 at 2:54 AM Tim Düsterhus wrote: > > Hi > > On 7/3/23 02:11, Levi Morrison wrote: > > Chatter on the [Interface Default Methods RFC][1] has been quiet for > > the past 6 days, and the feature freeze deadline is fast approaching > > for PHP 8.3, so I'm moving this to vote. It'll

Re: [PHP-DEV] [RFC] [Vote] Deprecate functions with overloaded signatures

2023-07-03 Thread Theodore Brown
On Thu June 29, 2023 at 11:51 AM Theodore Brown wrote: > On Tue, June 27, 2023, 6:33 Rowan Tommins wrote: > > On 27/06/2023 02:25, Theodore Brown wrote: > > > Currently the following code returns only the array keys that loosely > > > equal null: > > > > > > array_keys($array, null) > > > > >

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Michał Marcin Brzuchalski
pon., 3 lip 2023 o 14:26 Andreas Heigl napisał(a): > Hey Michał > > On 03.07.23 13:32, Michał Marcin Brzuchalski wrote: > > Hi Levi, > > > > pon., 3 lip 2023 o 02:11 Levi Morrison > napisał(a): > > > >> Chatter on the [Interface Default Methods RFC][1] has been quiet for > >> the past 6 days, an

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Andreas Heigl
Hey Michał On 03.07.23 13:32, Michał Marcin Brzuchalski wrote: Hi Levi, pon., 3 lip 2023 o 02:11 Levi Morrison napisał(a): Chatter on the [Interface Default Methods RFC][1] has been quiet for the past 6 days, and the feature freeze deadline is fast approaching for PHP 8.3, so I'm moving this

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Michał Marcin Brzuchalski
pon., 3 lip 2023 o 13:50 Pierre napisał(a): > Le 03/07/2023 à 13:32, Michał Marcin Brzuchalski a écrit : > > I voted "yes", my personal use case waits for this feature. My use > > case example: > > > > https://gist.github.com/brzuchal/89e9481bbd34a6ce3d95a68eabff038b > > > > With interface defaul

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Pierre
Le 03/07/2023 à 13:32, Michał Marcin Brzuchalski a écrit : I voted "yes", my personal use case waits for this feature. My use case example: https://gist.github.com/brzuchal/89e9481bbd34a6ce3d95a68eabff038b With interface default methods I'd no longer need traits that implement a single or in ra

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Michał Marcin Brzuchalski
Hi Andreas, pon., 3 lip 2023 o 06:33 Andreas Heigl napisał(a): > Am 03.07.23 um 02:11 schrieb Levi Morrison: > > Chatter on the [Interface Default Methods RFC][1] has been quiet for > > the past 6 days, and the feature freeze deadline is fast approaching > > for PHP 8.3, so I'm moving this to vo

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Michał Marcin Brzuchalski
Hi Levi, pon., 3 lip 2023 o 02:11 Levi Morrison napisał(a): > Chatter on the [Interface Default Methods RFC][1] has been quiet for > the past 6 days, and the feature freeze deadline is fast approaching > for PHP 8.3, so I'm moving this to vote. It'll be open for two weeks > as usual. > > Thanks

Re: [PHP-DEV] [VOTE] Interface Default Methods

2023-07-03 Thread Tim Düsterhus
Hi On 7/3/23 02:11, Levi Morrison wrote: Chatter on the [Interface Default Methods RFC][1] has been quiet for the past 6 days, and the feature freeze deadline is fast approaching for PHP 8.3, so I'm moving this to vote. It'll be open for two weeks as usual. I'm not really sold on the proposal