[PHP-DEV] [VOTE] PHP 8.3 Release Managers

2023-03-31 Thread Sergey Panteleev
Hi all, In the role of "Veteran" release manager, Pierrick Charron [0], the PHP 8.2 release manager, has volunteered to mentor two rookies, so there will be two seats up for grabs. For those two rookie seats, we’ve got three eager candidates for your consideration [1-3]. Voting is now open on

Re: [PHP-DEV] Re: [IDEA] allow extending enum

2023-03-31 Thread Niklas Keller
Am Mi., 29. März 2023 um 12:49 Uhr schrieb Rokas Šleinius : > Sidenote, just asking :) was this expected behaviour that I had to > analyse PHP source of the Docuwiki, create a new input field in > the registration form named "spam" and fill it to gain a wiki > username? Otherwise it would just kee

Re: [PHP-DEV] Property Hooks Discussion

2023-03-31 Thread Ilija Tovilo
On Fri, Mar 31, 2023 at 3:24 PM Larry Garfield wrote: >> In other words, will it be possible for this to no longer be true (I'm >> not sure it is always true now, fwiw): >> >> $x = $y = $z = 1; >> >> $x === $y && $y === $z; > That would mean the following as a side effect: > > $f = new Foo(); > $v

Re: [PHP-DEV] Property Hooks Discussion

2023-03-31 Thread Robert Landers
Thanks for your response Ilija and Larry, I totally missed the draft status and you resolved my burning questions anyway! It's a pretty exciting language feature (IMHO) and I wish you the best of luck! Cheers, Robert Landers Software Engineer Utrecht NL -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] Property Hooks Discussion

2023-03-31 Thread Larry Garfield
On Fri, Mar 31, 2023, at 8:56 AM, Robert Landers wrote: > Hello, > > I couldn't find the thread about Property Hooks > (https://wiki.php.net/rfc/property-hooks) -- I think it got embedded > in various places? Or maybe my search-fu in gmail is failing me. > > Anyway, I was reading it carefully and I

[PHP-DEV] Re: Property Hooks Discussion

2023-03-31 Thread Ilija Tovilo
Hi Robert! On Fri, Mar 31, 2023 at 10:57 AM Robert Landers wrote: > I couldn't find the thread about Property Hooks > (https://wiki.php.net/rfc/property-hooks) -- I think it got embedded > in various places? Or maybe my search-fu in gmail is failing me. As Rowan has mentioned, you couldn't find

Re: [PHP-DEV] Traits and redeclaring static properties

2023-03-31 Thread Larry Garfield
On Fri, Mar 31, 2023, at 1:07 PM, Ilija Tovilo wrote: > Hi everyone > > A few days ago we received a bug report about an inconsistency with > traits and static properties. > > https://github.com/php/php-src/issues/10935 > > https://3v4l.org/Dll1m > ``` > class A { > static $test; > } > class B

[PHP-DEV] Traits and redeclaring static properties

2023-03-31 Thread Ilija Tovilo
Hi everyone A few days ago we received a bug report about an inconsistency with traits and static properties. https://github.com/php/php-src/issues/10935 https://3v4l.org/Dll1m ``` class A { static $test; } class B extends A { static $test; } A::$test = 'A'; B::$test = 'B'; var_dump(A::$

Re: [PHP-DEV] Property Hooks Discussion

2023-03-31 Thread Rowan Tommins
On Fri, 31 Mar 2023 at 09:57, Robert Landers wrote: > Hello, > > I couldn't find the thread about Property Hooks > (https://wiki.php.net/rfc/property-hooks) -- I think it got embedded > in various places? Or maybe my search-fu in gmail is failing me. > The RFC is in "Draft" status rather than "

[PHP-DEV] Property Hooks Discussion

2023-03-31 Thread Robert Landers
Hello, I couldn't find the thread about Property Hooks (https://wiki.php.net/rfc/property-hooks) -- I think it got embedded in various places? Or maybe my search-fu in gmail is failing me. Anyway, I was reading it carefully and I had a couple of questions. What would happen with the following cl