Bug #51823 [NEW]: srand initialization seed
| From: | enki dot bilal at laposte dot net | Date: | Fri, 14 May 2010 14:45:03 +0000 |
| Subject: | Bug #51823 [NEW]: srand initialization seed | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4372@lists.php.net to get a copy of this message | ||
From:
Operating system: ALL
PHP version: 5.3.2
Package: Documentation problem
Bug Type: Bug
Bug description:srand initialization seed
Description:
------------
The srand documentation is flase in french.
In french the note since 4.2.0 says :
"Note : Depuis PHP 4.2.0, vous n'avez plus besoin d'initialiser le
générateur de nombres aléatoires avec srand() ou mt_srand() car c'est
fait automatiquement."
which meens that the function srand is useless 'cause it's done automaticly
instead of saying that just the seed parameter is useless.
--
Edit bug report at http://bugs.php.net/bug.php?id=51823&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51823&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51823&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51823&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51823&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51823&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51823&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51823&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51823&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51823&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51823&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51823&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51823&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51823&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51823&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51823&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51823&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51823&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51823&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51823&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51823&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51823&r=mysqlcfg