Bug #51823 [Opn->Csd]: [FR] srand initialization seed

From: Date: Mon, 11 Oct 2010 19:49:50 +0000
Subject: Bug #51823 [Opn->Csd]: [FR] srand initialization seed
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5191@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51823&edit=1 ID: 51823 Updated by: jpauli@php.net Reported by: enki dot bilal at laposte dot net Summary: [FR] srand initialization seed -Status: Open +Status: Closed Type: Bug Package: Translation problem Operating System: ALL PHP Version: 5.3.2 -Assigned To: +Assigned To: jpauli Block user comment: N New Comment: Fixed in online editor. Commit soon. Thanks for the report. Previous Comments: ------------------------------------------------------------------------ [2010-05-14 16:45:03] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51823&edit=1

« previous php.doc.bugs (#5191) next »