Doc #70119 [NEW]: PDOStatement::execute - ignores bindValue()

From: Date: Thu, 23 Jul 2015 17:58:24 +0000
Subject: Doc #70119 [NEW]: PDOStatement::execute - ignores bindValue()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12545@lists.php.net to get a copy of this message
From: chealer at gmail dot com Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:PDOStatement::execute - ignores bindValue() Description: ------------ If the prepared statement included parameter markers, you must either: call PDOStatement::bindParam() to bind PHP variables to the parameter markers: bound variables pass their value as input and receive the output value, if any, of their associated parameter markers or pass an array of input-only parameter values --- From manual page: http://www.php.net/pdostatement.execute --- In fact, as shown in the examples on http://php.net/manual/en/pdostatement.bindvalue.php, PDOStatement::bindValue() can be used too. Note that this page should really link to http://php.net/manual/en/pdo.prepared-statements.php -- Edit bug report at https://bugs.php.net/bug.php?id=70119&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70119&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70119&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70119&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70119&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70119&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70119&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70119&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70119&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70119&r=support Expected behavior: https://bugs.php.net/fix.php?id=70119&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70119&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70119&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70119&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70119&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70119&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70119&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70119&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70119&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70119&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70119&r=mysqlcfg

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