didou Thu Jan 15 07:42:08 2004 EDT
Modified files:
/phpdoc/en/reference/datetime/functions microtime.xml
Log:
CS : Function declarations follow the 'one true brace' convention
Index: phpdoc/en/reference/datetime/functions/microtime.xml
diff -u phpdoc/en/reference/datetime/functions/microtime.xml:1.7
phpdoc/en/reference/datetime/functions/microtime.xml:1.8
--- phpdoc/en/reference/datetime/functions/microtime.xml:1.7 Sat Dec 20 23:21:43
2003
+++ phpdoc/en/reference/datetime/functions/microtime.xml Thu Jan 15 07:42:08
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
<refentry id="function.microtime">
<refnamediv>
@@ -43,7 +43,8 @@
<![CDATA[
<?php
-function getmicrotime() {
+function getmicrotime()
+{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}