Re: [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

From: Date: Sun, 23 Aug 2015 17:48:18 +0000
Subject: Re: [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-87883@lists.php.net to get a copy of this message
> > I guess people continue to use rand() or mt_rand() if they skip the > documentation. > Even frameworks which are advertised with 100% php7 compatibility use > mt_rand(). > There's nothing wrong with mt_rand() in non-security contexts, it's still there in PHP 7. If anyone is using mt_rand() in security related code in PHP 5, they're doing it wrong. It doesn't have anything to do with PHP 7 compatibility. Regards, Niklas

« previous php.internals (#87883) next »