(PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 1.0.0)
Representa una consulta preparada y, una vez ejecutada, el conjunto de resultados asociado.
$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): mixedstring utilizada para la consulta.
| Versión | Descripción |
|---|---|
| 8.0.0 | La clase PDOStatement implementa ahora IteratorAggregate en lugar de Traversable. |