#50353 [Opn->Bgs]: FUnction shown which isn't implemented

From: Date: Tue, 01 Dec 2009 15:05:50 +0000
Subject: #50353 [Opn->Bgs]: FUnction shown which isn't implemented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3383@lists.php.net to get a copy of this message
ID: 50353 Updated by: rquadling@php.net Reported By: php at lafco dot de -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: WIN64 PHP Version: 5.3.1 New Comment: fetchArray() is a method of SQLite3Result. Previous Comments: ------------------------------------------------------------------------ [2009-12-01 14:23:45] niel dot archer at blueyonder dot co dot uk 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 ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#3383) next »