mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
now, really fixed example in microtime()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43873 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6229a009fc
commit
197e77fb09
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ echo gmstrftime ("%b %d %Y %H:%M:%S", mktime (20,0,0,12,31,98))."\n";
|
|||
<title><function>microtime</function> example</title>
|
||||
<programlisting role="php">
|
||||
function getmicrotime(){
|
||||
list($sec, $usec) = explode(" ",microtime());
|
||||
list($usec, $sec) = explode(" ",microtime());
|
||||
return ((float)$usec + (float)$sec);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue