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

2021-04-04 Thread Go Kudo
This RFC seems to have a lot of problems. But I would like to answer the question first. > - I really do not understand why we are introducing new functions. Can't the classes implement the necessary methods to get integers, doubles, and string of bytes? As a new user I would be completely

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

2021-04-03 Thread Aaron Piotrowski
> On Apr 2, 2021, at 5:49 PM, Larry Garfield wrote: > > On Fri, Apr 2, 2021, at 4:56 PM, Kamil Tekiela wrote: >> Hi Go Kudo, >> >> First, let me say that I believe we need such implementation in PHP and I >> would like to see object scoped RNG as part of the standard. However, I >> have

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

2021-04-02 Thread Larry Garfield
On Fri, Apr 2, 2021, at 4:56 PM, Kamil Tekiela wrote: > Hi Go Kudo, > > First, let me say that I believe we need such implementation in PHP and I > would like to see object scoped RNG as part of the standard. However, I > have voted no for a number of reasons. Let me list them from the >

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

2021-04-02 Thread Marco Pivetta
On Fri, Apr 2, 2021, 23:56 Kamil Tekiela wrote: > Hi Go Kudo, > > First, let me say that I believe we need such implementation in PHP and I > would like to see object scoped RNG as part of the standard. However, I > have voted no for a number of reasons. Let me list them from the > perspective

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

2021-04-02 Thread Kamil Tekiela
Hi Go Kudo, First, let me say that I believe we need such implementation in PHP and I would like to see object scoped RNG as part of the standard. However, I have voted no for a number of reasons. Let me list them from the perspective of a noob PHP user. - I really do not understand why we are

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

2021-04-01 Thread Go Kudo
Hi Morrison. > Sorry if I missed an optional "intent to vote soon" thread. I thought I had announced it here, but I did not indicate the specific dates. I apologize for that. https://externals.io/message/113720 > simply based on the fact that namespaced things are going into`ext/standard`.

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

2021-04-01 Thread Levi Morrison via internals
On Wed, Mar 31, 2021 at 10:39 PM Go Kudo wrote: > > 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 >

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

2021-04-01 Thread Go Kudo
Hi Xavier > If I understand correctly, this would > - provide us with performant object-encapsulated (isolated from global state) equivalents of the existing `mt_srand()`/`mt_rand()` and `random_int()` functions as well as a new "XorShift128+"; along with some global functions for usability,

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

2021-04-01 Thread Guilliam Xavier
On Thu, Apr 1, 2021 at 6:39 AM Go Kudo wrote: > 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 >

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

2021-04-01 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. >>

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

2021-04-01 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. > >

[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