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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: doussot at gifrance dot com
New email:
PHP Version: OS:

 

 [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 09:01:28 2024 UTC