note 52182 deleted from function.uniqid by nlopess
| From: | nlopess@php.net | Date: | Sat, 23 Apr 2005 11:36:52 +0000 |
| Subject: | note 52182 deleted from function.uniqid by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-88442@lists.php.net to get a copy of this message | ||
Note Submitter: Kerry Kobashi
----
Note that the documentation is incorrect. The prototype should read:
string uniqid ( string prefix [, bool more_entropy] )
Thus, a prefix is required.
You will get a warning error but this is misleading because if you do this:.
$val = uniqid();
echo $val;
$val will be an empty string!