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

From: Date: Wed, 24 Jul 2019 07:24:59 +0000
Subject: Doc #78328 [Opn->Ver]: Error in Parameter Sample, plus Missing Information on Parameters
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16844@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: cmb@php.net Reported by: mark at manngo dot net Summary: Error in Parameter Sample, plus Missing Information on Parameters -Status: Open +Status: Verified Type: Documentation Problem -Package: Documentation problem +Package: PDO related PHP Version: Irrelevant Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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 (#16844) next »