|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31510 sqlite_key function only exists as method for SQLiteResult class
Submitted: 2005-01-12 09:31 UTC Modified: 2011-02-21 22:19 UTC
From: Assigned: helly (profile)
Status: Wont fix Package: SQLite related
PHP Version: * OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2005-01-12 09:31 UTC]
The function sqlite_key (line 2637 of ext/sqlite/sqlite.c) only exists as a mapped method of the SQLiteResult class and cannot be used a a procedural function as it has no entry in the sqlite_funcs function table (even though the function has support for being called as such). All that's needed is an entry in sqlite_functions[].


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-12 23:14 UTC]
All QLite maintainers decided there is little to no usa in that function. The reason there is SQLiteResult::key() is only because SQLiteResult implements Iterator.
 [2011-02-21 22:13 UTC] php at trafex dot nl
Maybe the documentation should be updated, it doesn't mention any of this.
 [2011-02-21 22:19 UTC]
Please submit that as a documentation bug, don't append it to a bug that hasn't 
been touched in six years or by a complaint in the user notes --- it's not as 
likely to be noticed and repaired this way.  A new submission, however, is very 
likely to see the documentation corrected pretty soon after submission.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 07:01:28 2024 UTC