Doc #61420 [NEW]: more-entropy parameter description
| From: | silverwoodchuck47 at yahoo dot com | Date: | Fri, 16 Mar 2012 19:17:11 +0000 |
| Subject: | Doc #61420 [NEW]: more-entropy parameter description | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-8072@lists.php.net to get a copy of this message | ||
From:
Operating system: Irrelevant
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:more-entropy parameter description
Description:
------------
---
From manual page:
http://www.php.net/function.uniqid#refsect1-function.uniqid-parameters
---
For the 'more-entropy' parameter, the explanation is:
"If set to TRUE, uniqid() will add additional entropy (using the combined
linear congruential generator) at the end of the return value, which should
make the results more unique."
My report is just a quibble with the use of term 'more unique'. Something
is unique or it isn't. Something can't be "more unique." It's like
"almost pregnant"--you are or you aren't--there's no in between.
I suggest the following:
"If set to TRUE, uniqid() adds additional entropy (using the combined
linear congruential generator) at the end of the return value, which
increases the likelihood that the result is unique."
Test script:
---------------
Not applicable.
Expected result:
----------------
Not applicable.
Actual result:
--------------
Not applicable.
--
Edit bug report at https://bugs.php.net/bug.php?id=61420&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61420&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61420&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61420&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61420&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61420&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61420&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61420&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61420&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61420&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61420&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61420&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61420&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61420&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61420&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61420&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61420&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61420&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61420&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61420&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61420&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61420&r=mysqlcfg