|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56312 last_id returns long, some drivers return larger ints
Submitted: 2005-02-20 13:21 UTC Modified: 2005-02-26 12:28 UTC
From: cshmoove at hotmail dot com Assigned: wez (profile)
Status: Closed Package: PDO (PECL)
PHP Version: 5_1 CVS-2005-02-20 (dev) OS: WinXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
49 - 40 = ?
Subscribe to this entry?

 [2005-02-20 13:21 UTC] cshmoove at hotmail dot com
 in MS Sql Server (2000), identity fields can be as large as a bigint (int64). dbh->methods->last_id of course returns long ...
perhaps this callback can be modified to return a ZVAL or a string.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-26 12:28 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 22:01:31 2024 UTC