Doc #54780 [Opn->Csd]: Missing default argument value in sqlite_fetch_column_types
| From: | salathe@php.net | Date: | Tue, 17 May 2011 23:16:49 +0000 |
| Subject: | Doc #54780 [Opn->Csd]: Missing default argument value in sqlite_fetch_column_types | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6487@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54780&edit=1
ID: 54780
Updated by: salathe@php.net
Reported by: gwarnants at gmail dot com
Summary: Missing default argument value in
sqlite_fetch_column_types
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: salathe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Added SQLITE_ASSOC as default value, and removed SQLITE_BOTH from the
description.
Previous Comments:
------------------------------------------------------------------------
[2011-05-18 01:15:29] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=311168
Log: clarify result_type param for sqlite_fetch_column_types() (doc
#54780)
------------------------------------------------------------------------
[2011-05-17 11:20:41] gwarnants at gmail dot com
Description:
------------
---
From manual page:
http://www.php.net/function.sqlite-fetch-column-types#Description
---
According to parameters description, it seems the default value of
parameter $result_type should be set to constant SQLITE_ASSOC.
Both prototypes are concerned (procedural and OOP)
Regards,
Geoffray
Expected result:
----------------
array sqlite_fetch_column_types ( string $table_name , resource
$dbhandle [, int $result_type = SQLITE_ASSOC ] )
array SQLiteDatabase::fetchColumnTypes ( string $table_name [, int
$result_type = SQLITE_ASSOC ] )
Actual result:
--------------
array sqlite_fetch_column_types ( string $table_name , resource
$dbhandle [, int $result_type ] )
array SQLiteDatabase::fetchColumnTypes ( string $table_name [, int
$result_type ] )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54780&edit=1