Re: [PHP-DEV] [VOTE] Object scoped RNG implementation

2021-03-31 Thread Go Kudo
I fixed it. https://wiki.php.net/rfc/object_scope_prng Thank you. 2021年4月1日(木) 15:23 Max Semenik : > The "Proposed Voting Choices" section title needs an update. > > чт, 1 апр. 2021 г., 07:39 Go Kudo : > >> Hello everyone. >> >> Object scoped RNG RFC vote is now open. >> https://wiki.php.net/rf

Re: [PHP-DEV] [VOTE] Object scoped RNG implementation

2021-03-31 Thread Max Semenik
The "Proposed Voting Choices" section title needs an update. чт, 1 апр. 2021 г., 07:39 Go Kudo : > Hello everyone. > > Object scoped RNG RFC vote is now open. > https://wiki.php.net/rfc/object_scope_prng > > The deadline for voting is April 15. > > Previous discussions can be viewed below. > > ht

Re: [PHP-DEV] Changes to Git commit workflow

2021-03-31 Thread Bishop Bettini
On Sun, Mar 28, 2021 at 8:16 PM Sara Golemon wrote: > On Sun, Mar 28, 2021 at 6:57 PM Paul Crovella > wrote: > > > You might consider requiring commits be signed while you're at it. > > > > > I suggested this as well, and even if we don't require it, we should > STRONGLY encourage it. > > I've b

[PHP-DEV] [VOTE] Object scoped RNG implementation

2021-03-31 Thread Go Kudo
Hello everyone. Object scoped RNG RFC vote is now open. https://wiki.php.net/rfc/object_scope_prng The deadline for voting is April 15. Previous discussions can be viewed below. https://externals.io/message/112765 https://externals.io/message/112819 https://externals.io/message/113720 Regards,

Re: [PHP-DEV] Release Managers for PHP 8.1

2021-03-31 Thread Saif Eddin Gmati
Hello Sara, I would like to volunteer as a newbie RM. I don't have much experience with php-src it self, but i have been involved in PHP community as a whole for a while, and would like to try and help out. Regards, Saif. https://void.tn ‐‐‐ Original Message ‐‐‐ On Monday, March 1,

Re: [PHP-DEV] Any reason why backed enums are limited to int and string only?

2021-03-31 Thread Olle Härstedt
2021-03-31 20:52 GMT+02:00, Ilija Tovilo : > Hi Olle > >> I was trying to implement the result type from OCaml using enums, and >> noticed that they can only carry int or string data, not arbitrary >> data. Any specific reason for this? >> >> Example: >> >> enum Result: mixed { >> case

Re: [PHP-DEV] Any reason why backed enums are limited to int and string only?

2021-03-31 Thread Ilija Tovilo
Hi Olle > I was trying to implement the result type from OCaml using enums, and > noticed that they can only carry int or string data, not arbitrary > data. Any specific reason for this? > > Example: > > enum Result: mixed { > case Ok = null; > case Error = null; > } > > Er

Re: [PHP-DEV] Any reason why backed enums are limited to int and string only?

2021-03-31 Thread Rowan Tommins
On 31/03/2021 19:44, Olle Härstedt wrote: enum Result: mixed { case Ok = null; case Error = null; } Sounds like what you're looking for is not "pure" enums, but Algebraic Data Types. Larry and Ilija have a grand plan for adding those, but there's a few steps to go

[PHP-DEV] Any reason why backed enums are limited to int and string only?

2021-03-31 Thread Olle Härstedt
Hello, I was trying to implement the result type from OCaml using enums, and noticed that they can only carry int or string data, not arbitrary data. Any specific reason for this? Example: enum Result: mixed { case Ok = null; case Error = null; } Error with: Fatal error

[PHP-DEV] PHP 8.1 Release Manager Selection

2021-03-31 Thread Joe Watkins
Afternoon all, I have decided to volunteer to mentor the 8.1 release managers as a veteran release manager. We have many volunteers from the community for this release, and intend to hold a vote to choose two of them to be mentored by myself. Expect more communication to follow, some slight chan

Re: [PHP-DEV] [VOTE] noreturn type

2021-03-31 Thread Matthew Brown
On Wed, 31 Mar 2021 at 09:30, Theodore Brown wrote: > On Tue, Mar 30, 2021 at 5:24 PM Matthew Brown > wrote: > > > On Tue, 30 Mar 2021 at 12:55, Theodore Brown > wrote: > > > > > On Tue, Mar 30, 2021 at 10:06 AM Matthew Brown < > matthewmatt...@gmail.com> wrote: > > > > > > > Hey everyone! > >

Re: [PHP-DEV] [VOTE] noreturn type

2021-03-31 Thread Theodore Brown
On Tue, Mar 30, 2021 at 5:24 PM Matthew Brown wrote: > On Tue, 30 Mar 2021 at 12:55, Theodore Brown wrote: > > > On Tue, Mar 30, 2021 at 10:06 AM Matthew Brown > > wrote: > > > > > Hey everyone! > > > > > > The vote for adding noreturn is now open: > > > > > > https://wiki.php.net/rfc/noretu

Re: [PHP-DEV] [VOTE] noreturn type

2021-03-31 Thread Andreas Hennings
On Wed, 31 Mar 2021 at 14:41, Ilija Tovilo wrote: > > Hi internals > > On Wed, Mar 31, 2021 at 2:14 PM Andreas Hennings wrote: > > > > Also check my comment in the other thread: > > If in the future we want a "bottom type" that also works for parameters > > (generics or abstract methods), should

Re: [PHP-DEV] [VOTE] noreturn type

2021-03-31 Thread Ilija Tovilo
Hi internals On Wed, Mar 31, 2021 at 2:14 PM Andreas Hennings wrote: > > Also check my comment in the other thread: > If in the future we want a "bottom type" that also works for parameters > (generics or abstract methods), should we create a new keyword, or should > we attempt to find a keyword

Re: [PHP-DEV] [VOTE] noreturn type

2021-03-31 Thread Andreas Hennings
Also check my comment in the other thread: If in the future we want a "bottom type" that also works for parameters (generics or abstract methods), should we create a new keyword, or should we attempt to find a keyword now that works for all cases? Neither "never" nor "noreturn" seems suitable for u