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
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: tpunt
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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