php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51823 [FR] srand initialization seed
Submitted: 2010-05-14 16:45 UTC Modified: 2010-10-11 21:49 UTC
From: enki dot bilal at laposte dot net Assigned: jpauli (profile)
Status: Closed Package: Translation problem
PHP Version: 5.3.2 OS: ALL
Private report: No CVE-ID: None
 [2010-05-14 16:45 UTC] enki dot bilal at laposte dot net
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.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-18 11:03 UTC] kalle@php.net
-Summary: srand initialization seed +Summary: [FR] srand initialization seed -Package: Documentation problem +Package: Translation problem
 [2010-10-11 21:49 UTC] jpauli@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jpauli
 [2010-10-11 21:49 UTC] jpauli@php.net
Fixed in online editor. Commit soon.

Thanks for the report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 19:01:28 2025 UTC