#50353 [Com]: FUnction shown which isn't implemented
| From: | niel dot archer at blueyonder dot co dot uk | Date: | Tue, 01 Dec 2009 14:23:45 +0000 |
| Subject: | #50353 [Com]: FUnction shown which isn't implemented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3382@lists.php.net to get a copy of this message | ||
ID: 50353
Comment by: niel dot archer at blueyonder dot co dot uk
Reported By: php at lafco dot de
Status: Open
Bug Type: Documentation problem
Operating System: WIN64
PHP Version: 5.3.1
New Comment:
I'm afraid you have misunderstood the example, and the query method. On
success it returns a SQLiteResult object. The function you refer to is a
method of that object, which is documented here:
http://docs.php.net/manual/en/sqlite3result.fetcharray.php
Previous Comments:
------------------------------------------------------------------------
[2009-12-01 13:37:17] php at lafco dot de
Description:
------------
Wrong sample code, and/or missing function
Reproduce code:
---------------
---
From manual page: sqlite3.query#Beispiele
---
example refers to
$results = $db->query('SELECT bar FROM foo');
while ($row = $results->fetchArray()) {
var_dump($row);
}
but fetchArray() isn't impelemented, as searching the documentation
only refers to sqlite (beside others) but not to sqlite3.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50353&edit=1