php.net |  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: irchtml@php.net Assigned: helly (profile)
Status: Wont fix Package: SQLite related
PHP Version: * OS:
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: irchtml@php.net
New email:
PHP Version: OS:

 

 [2005-01-12 09:31 UTC] irchtml@php.net
Description:
------------
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[].


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-12 23:14 UTC] helly@php.net
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] danbrown@php.net
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-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 19:01:24 2020 UTC