cvs: phpdoc-de /reference/datetime/functions microtime.xml

From: Date: Sat, 17 Jan 2004 15:25:11 +0000
Subject: cvs: phpdoc-de /reference/datetime/functions microtime.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-1059@lists.php.net to get a copy of this message
betz Sat Jan 17 10:25:11 2004 EDT Modified files: /phpdoc-de/reference/datetime/functions microtime.xml Log: sync to en Index: phpdoc-de/reference/datetime/functions/microtime.xml diff -u phpdoc-de/reference/datetime/functions/microtime.xml:1.6 phpdoc-de/reference/datetime/functions/microtime.xml:1.7 --- phpdoc-de/reference/datetime/functions/microtime.xml:1.6 Mon Jan 5 08:31:31 2004 +++ phpdoc-de/reference/datetime/functions/microtime.xml Sat Jan 17 10:25:11 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.7 Maintainer: betz Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.9 Maintainer: betz Status: ready --> <refentry id="function.microtime"> <refnamediv> @@ -45,14 +45,15 @@ <programlisting role="php"> <![CDATA[ <?php -function getmicrotime(){ +function getmicrotime() +{ list($usec, $sec) = explode(" ",microtime()); return ((float)$usec + (float)$sec); - } +} $time_start = getmicrotime(); -for ($i=0; $i < 1000; $i++){ +for ($i=0; $i < 1000; $i++) { //mach nichts,1000 mal } @@ -65,7 +66,7 @@ $time_start = microtime(1); -for ($i=0; $i < 1000; $i++){ +for ($i=0; $i < 1000; $i++) { //mach nichts,1000 mal }

« previous php.doc.de (#1059) next »