Doc #70118 [Asn->Csd]: PDOStatement::execute manual says "values are treated as PDO::PARAM_STR"

From: Date: Fri, 18 Dec 2015 21:05:59 +0000
Subject: Doc #70118 [Asn->Csd]: PDOStatement::execute manual says "values are treated as PDO::PARAM_STR"
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12979@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70118&edit=1 ID: 70118 Updated by: tpunt@php.net Reported by: chealer at gmail dot com Summary: PDOStatement::execute manual says "values are treated as PDO::PARAM_STR" -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: tpunt Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2015-12-18 21:05:51] tpunt@php.net Given that it's in the context of parameter binding, I think the current description is quite unambiguous. Whilst it could be changed to read "as strings (PDO::PARAM_STR)", I personally don't feel it adds any extra clarity to the sentence. ------------------------------------------------------------------------ [2015-07-23 14:53:06] chealer at gmail dot com Description: ------------ input_parameters An array of values with as many elements as there are bound parameters in the SQL statement being executed. All values are treated as PDO::PARAM_STR. --- From manual page: http://www.php.net/pdostatement.execute --- PDO::PARAM_STR indicates string parameters. "as PDO::PARAM_STR" could read "as strings (PDO::PARAM_STR)", or simply "as strings". ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70118&edit=1

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