This commit is contained in:
Antony Dovgal 2007-11-27 06:44:16 +00:00
parent 0c0456d275
commit da231136ce

View File

@ -27,5 +27,7 @@ $id = '1';
$stmt->execute(); $stmt->execute();
var_dump($stmt->fetch(PDO::FETCH_COLUMN)); var_dump($stmt->fetch(PDO::FETCH_COLUMN));
?> ?>
--EXPECT-- --EXPECTF--
string(5) "test1" Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in %s on line %d
Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number in %s on line %d