Doc #78328 [Ver->Csd]: Error in Parameter Sample, plus Missing Information on Parameters

From: Date: Wed, 24 Jul 2019 08:49:01 +0000
Subject: Doc #78328 [Ver->Csd]: Error in Parameter Sample, plus Missing Information on Parameters
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16845@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78328&edit=1 ID: 78328 Updated by: salathe@php.net Reported by: mark at manngo dot net Summary: Error in Parameter Sample, plus Missing Information on Parameters -Status: Verified +Status: Closed Type: Documentation Problem Package: PDO related PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2019-07-24 08:48:17] 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 07:05:28] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78328&edit=1

« previous php.doc.bugs (#16845) next »