|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-02 02:37 UTC] jani@php.net
-Package: Feature/Change Request
+Package: PDO related
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 00:00:02 2025 UTC |
Description: ------------ It would be swell if bindValue returned false when attempting to bind a named parameter that does not exist. Failing that it would swell if execute allowed more values than named parameters, only using the values for named parameters that exist in the argument. $s=$dbh->prepare('INSERT INTO foo VALUES(:bar)'); $s->bindValue(':fubar', 2); // == false $s->execute(array(':bar'=>1, ':fubar'=>2));