php.net |  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: cmb@php.net Assigned: sobak (profile)
Status: Closed Package: PDO Core
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2015-06-08 19:34 UTC] cmb@php.net
Description:
------------
---
From manual page: http://www.php.net/pdostatement.fetchcolumn
---

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
fetchcolumn-example).

Then the following notes can be deleted:
 * <http://php.net/manual/en/pdostatement.fetchcolumn.php#115694>
 * <http://php.net/manual/en/pdostatement.fetchcolumn.php#117420>
 * <http://php.net/manual/en/pdostatement.fetchcolumn.php#116646>


Patches

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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-08 19:34 UTC] cmb@php.net
-Package: PDO SQLite +Package: PDO Core
 [2015-06-09 07:07 UTC] sobak@php.net
Automatic comment from SVN on behalf of sobak
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=336896
Log: Close bug #69775 (fetchColumn() example is misleading)

Patch by cmb
 [2015-06-09 07:08 UTC] sobak@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC