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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat Dec 21 15:01:29 2024 UTC