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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 16 04:01:27 2024 UTC