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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: enki dot bilal at laposte dot net
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC