cvs: phpdoc-fr /reference/math/functions mt-srand.xml srand.xml

From: Date: Tue, 09 Dec 2003 09:02:09 +0000
Subject: cvs: phpdoc-fr /reference/math/functions mt-srand.xml srand.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-1005@lists.php.net to get a copy of this message
didou Tue Dec 9 04:02:09 2003 EDT Modified files: /phpdoc-fr/reference/math/functions mt-srand.xml srand.xml Log: Seed becomes optional in PHP 4.2.0 Index: phpdoc-fr/reference/math/functions/mt-srand.xml diff -u phpdoc-fr/reference/math/functions/mt-srand.xml:1.2 phpdoc-fr/reference/math/functions/mt-srand.xml:1.3 --- phpdoc-fr/reference/math/functions/mt-srand.xml:1.2 Sun Jun 29 11:10:23 2003 +++ phpdoc-fr/reference/math/functions/mt-srand.xml Tue Dec 9 04:02:09 2003 @@ -10,11 +10,14 @@ <title>Description</title> <methodsynopsis> <type>void</type><methodname>mt_srand</methodname> - <methodparam><type>int</type><parameter>seed</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>seed</parameter></methodparam> </methodsynopsis> <para> <function>mt_srand</function> initialise une meilleure valeur al&eacute;atoire avec <parameter>seed</parameter>. + Depuis PHP 4.2.0, le param&egrave;tre <parameter>seed</parameter> est + devenu optionnel et est g&eacute;n&eacute;r&eacute; par PHP si il + n'est pas renseign&eacute;. <example> <title>Exemple avec <function>mt_srand</function></title> <programlisting role="php"> Index: phpdoc-fr/reference/math/functions/srand.xml diff -u phpdoc-fr/reference/math/functions/srand.xml:1.2 phpdoc-fr/reference/math/functions/srand.xml:1.3 --- phpdoc-fr/reference/math/functions/srand.xml:1.2 Sun Jun 29 11:10:24 2003 +++ phpdoc-fr/reference/math/functions/srand.xml Tue Dec 9 04:02:09 2003 @@ -10,11 +10,14 @@ <title>Description</title> <methodsynopsis> <type>void</type><methodname>srand</methodname> - <methodparam><type>int</type><parameter>seed</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>seed</parameter></methodparam> </methodsynopsis> <para> <function>srand</function> initialise le g&eacute;n&eacute;rateur de nombres al&eacute;atoires avec <parameter>seed</parameter>. + Depuis PHP 4.2.0, le param&egrave;tre <parameter>seed</parameter> est + devenu optionnel et est g&eacute;n&eacute;r&eacute; par PHP si il n'est + pas renseign&eacute;. <example> <title>Exemple avec <function>srand</function></title> <programlisting role="php">

« previous php.doc.fr (#1005) next »