php.net |  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
 [2019-07-24 07:05 UTC] mark at manngo dot net
Description:
------------
---
From manual page: https://php.net/pdo.query
---

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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-24 07:24 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: Documentation problem +Package: PDO related
 [2019-07-24 08:48 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=347793
Log: fix initialisers for PDO::FETCH_* prototypes (doc bug #78328)
 [2019-07-24 08:49 UTC] salathe@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: salathe
 [2019-07-24 08:49 UTC] salathe@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC