Doc #54785 [NEW]: Missing default parameter value in microtime()

From: Date: Tue, 17 May 2011 09:53:22 +0000
Subject: Doc #54785 [NEW]: Missing default parameter value in microtime()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6448@lists.php.net to get a copy of this message
From: Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Missing default parameter value in microtime() 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 bug report at http://bugs.php.net/bug.php?id=54785&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54785&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54785&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54785&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54785&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54785&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54785&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54785&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54785&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54785&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54785&r=support Expected behavior: http://bugs.php.net/fix.php?id=54785&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54785&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54785&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54785&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54785&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54785&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54785&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54785&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54785&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54785&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54785&r=mysqlcfg

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