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

From: Date: Thu, 15 Jan 2004 12:42:47 +0000
Subject: cvs: phpdoc /en/reference/math/functions mt-srand.xml srand.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358207@lists.php.net to get a copy of this message
didou Thu Jan 15 07:42:47 2004 EDT Modified files: /phpdoc/en/reference/math/functions mt-srand.xml srand.xml Log: CS : Function declarations follow the 'one true brace' convention Index: phpdoc/en/reference/math/functions/mt-srand.xml diff -u phpdoc/en/reference/math/functions/mt-srand.xml:1.6 phpdoc/en/reference/math/functions/mt-srand.xml:1.7 --- phpdoc/en/reference/math/functions/mt-srand.xml:1.6 Mon Dec 8 04:19:54 2003 +++ phpdoc/en/reference/math/functions/mt-srand.xml Thu Jan 15 07:42:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 --> <refentry id="function.mt-srand"> <refnamediv> @@ -22,7 +22,8 @@ <![CDATA[ <?php // seed with microseconds -function make_seed() { +function make_seed() +{ list($usec, $sec) = explode(' ', microtime()); return (float) $sec + ((float) $usec * 100000); } Index: phpdoc/en/reference/math/functions/srand.xml diff -u phpdoc/en/reference/math/functions/srand.xml:1.6 phpdoc/en/reference/math/functions/srand.xml:1.7 --- phpdoc/en/reference/math/functions/srand.xml:1.6 Mon Dec 8 04:19:54 2003 +++ phpdoc/en/reference/math/functions/srand.xml Thu Jan 15 07:42:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 --> <refentry id="function.srand"> <refnamediv> @@ -22,7 +22,8 @@ <![CDATA[ <?php // seed with microseconds -function make_seed() { +function make_seed() +{ list($usec, $sec) = explode(' ', microtime()); return (float) $sec + ((float) $usec * 100000); }

« previous php.doc (#969358207) next »