Bug #2275: Uniqid() inconstistent with previous versions of PHP3
| From: | doussot at gifrance dot com | Date: | Fri, 10 Sep 1999 10:15:46 +0000 |
| Subject: | Bug #2275: Uniqid() inconstistent with previous versions of PHP3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10796@lists.php.net to get a copy of this message | ||
From: doussot@gifrance.com
Operating system: All
PHP version: 3.0 Latest CVS (10/09/1999)
PHP Bug Type: Misbehaving function
Bug description: Uniqid() inconstistent with previous versions of PHP3
Hello,
I noticed that current Uniqid() code is inconsistent with previous PHP3 versions: the new
"lcg" part returned at the end of the ID increase the size of the value which is a big
problem if this id is inserted in a database field with fixed length. This part should be optional
(default off).
Thanks.