php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2275 Uniqid() inconstistent with previous versions of PHP3
Submitted: 1999-09-10 06:15 UTC Modified: 1999-09-20 12:33 UTC
From: doussot at gifrance dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Latest CVS (10/09/1999) OS: All
Private report: No CVE-ID: None
 [1999-09-10 06:15 UTC] doussot at gifrance dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-20 12:33 UTC] sas at cvs dot php dot net
fixed, I've merged the changes into php3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 07:01:30 2024 UTC