(PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 1.0.0)
Represents a prepared statement and, after the statement is executed, an associated result set.
$column,&$var,$type = PDO::PARAM_STR,$maxLength = 0,$driverOptions = null$param,&$var,$type = PDO::PARAM_STR,$maxLength = 0,$driverOptions = null$mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset = 0): mixedUsed query string.
| Version | Description |
|---|---|
| 8.0.0 | PDOStatement implements IteratorAggregate now instead of Traversable. |