Pdo V2.0 Extended Features |link|
$stmt = $pdo->prepare('SELECT * FROM users'); $stmt->execute(); $stmt->scroll(10); // move to the 10th row
$pdo = new PDO('mysql:host=db', 'user', 'pass', [ PDO::ATTR_LAZY_CONNECT => true ]); pdo v2.0 extended features
Practical: easier to meet security and compliance requirements. $stmt = $pdo->