|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78328 Error in Parameter Sample, plus Missing Information on Parameters
Submitted: 2019-07-24 07:05 UTC Modified: 2019-07-24 08:49 UTC
From: mark at manngo dot net Assigned: salathe (profile)
Status: Closed Package: PDO related
PHP Version: Irrelevant OS:
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:
26 + 30 = ?
Subscribe to this entry?

 [2019-07-24 07:05 UTC] mark at manngo dot net
From manual page:

1. In the parameters for query() values such as $PDO::FETCH_COLUMN are used. Shouldn’t that be PDO::FETCH_COLUMN (without the $)?

2. There is no mention made of additional parameters in the Parameters section, so the samples are very confusing.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-24 07:24 UTC]
-Status: Open +Status: Verified -Package: Documentation problem +Package: PDO related
 [2019-07-24 08:48 UTC]
Automatic comment from SVN on behalf of salathe
Log: fix initialisers for PDO::FETCH_* prototypes (doc bug #78328)
 [2019-07-24 08:49 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: salathe
 [2019-07-24 08:49 UTC]
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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 09:03:14 2021 UTC