Re: Re: [RFC] Under Discussion: Add Random class and RandomNumberGenerator interface

From: Date: Wed, 09 Jun 2021 10:15:22 +0000
Subject: Re: Re: [RFC] Under Discussion: Add Random class and RandomNumberGenerator interface
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-114795@lists.php.net to get a copy of this message
>
> Couldn't the Random class simply implement `public function __clone():
> void (that would internally do like $this->algo = clone $this->algo;`)?
>

Sorry I meant like $this->rng = clone $this->rng;.

PS: Please don't reply to this erratum, but rather to the previous message
;)


Thread (11 messages)

« previous php.internals (#114795) next »