(PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 1.0.0)
代表一条预处理语句,并在该语句被执行后代表一个相关的结果集。
$column
,&$var
,$type
= PDO::PARAM_STR,$maxLength
= 0,$driverOptions
= null
$param
,&$var
,$type
= PDO::PARAM_STR,$maxLength
= 0,$driverOptions
= null
所用的查询字符串
版本 | 说明 |
---|---|
8.0.0 | 现在 PDOStatement 的实现不是 Traversable 而是 IteratorAggregate。 |