Doc #54785 [Opn->Csd]: Missing default parameter value in microtime()

From: Date: Tue, 17 May 2011 22:43:24 +0000
Subject: Doc #54785 [Opn->Csd]: Missing default parameter value in microtime()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6486@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54785&edit=1 ID: 54785 Updated by: salathe@php.net Reported by: gwarnants at gmail dot com Summary: Missing default parameter value in microtime() -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-05-18 00:42:34] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=311166 Log: initializer for microtime() and gettimeofday() (doc #54784 #54785) ------------------------------------------------------------------------ [2011-05-17 11:53:22] gwarnants at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.microtime#Description --- When reading return values description, I can see "By default, microtime() returns a string" so I can deduct the default value of $get_as_float parameter is FALSE. It could be added in function prototype. Regards, Geoffray Expected result: ---------------- mixed microtime ([ bool $get_as_float = false ] ) Actual result: -------------- mixed microtime ([ bool $get_as_float ] ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54785&edit=1

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