Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.8.3

Request #11766 Use mt_rand() instead of rand()
Submitted: 2007-08-05 23:24 UTC
From: sergeg Assigned: tacker
Status: Closed Package: Cache_Lite (version 1.7.2)
PHP Version: Irrelevant OS:
Roadmaps: 1.7.5    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 36 - 3 = ?

 
 [2007-08-05 23:24 UTC] sergeg (Serge Gautherie)
Description: ------------ File: Lite.php Code: {{ $rand = rand(1, $this->_automaticCleaningFactor); }} Cf <http://fr2.php.net/manual/en/function.mt-rand.php>.

Comments

 [2009-01-13 10:12 UTC] tacker (Markus Tacker)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.