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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 08:03:35 2021 UTC