|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69775 fetchColumn() example is misleading
Submitted: 2015-06-08 19:34 UTC Modified: 2015-06-09 07:08 UTC
From: Assigned: sobak (profile)
Status: Closed Package: PDO Core
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
32 - 17 = ?
Subscribe to this entry?

 [2015-06-08 19:34 UTC]
From manual page:

As can be seen from the user contributes notes, example#1 on the
PDOStatement::fetchColumn man page is apparently misleading. It
might be best to change it (see attached patch

Then the following notes can be deleted:
 * <>
 * <>
 * <>


fetchcolumn-example (last revision 2015-06-08 19:34 UTC by cmb)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-08 19:34 UTC]
-Package: PDO SQLite +Package: PDO Core
 [2015-06-09 07:07 UTC]
Automatic comment from SVN on behalf of sobak
Log: Close bug #69775 (fetchColumn() example is misleading)

Patch by cmb
 [2015-06-09 07:08 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon May 23 12:03:33 2022 UTC