Bug #60690 [Com]: microsec/1000

From: Date: Mon, 09 Jan 2012 14:56:56 +0000
Subject: Bug #60690 [Com]: microsec/1000
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7758@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60690&edit=1 ID: 60690 Comment by: hello at apfelbox dot net Reported by: radler63 at hotmail dot com Summary: microsec/1000 Status: Open Type: Bug Package: Online Doc Editor problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Hi, no, microtime(true) returns the seconds with the microseconds as float. For example 1 second, 500 microseconds will return 1.5 The example is therefore correct. Previous Comments: ------------------------------------------------------------------------ [2012-01-09 08:17:33] radler63 at hotmail dot com Description: ------------ --- From manual page: http://www.php.net/function.microtime#refsect1-function.microtime-examples --- I think you have to divide the ms by 1000 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60690&edit=1

« previous php.doc.bugs (#7758) next »