Pdo V2.0 Extended Features
$pdo = new PDO('mysql:async=1;host=localhost;dbname=test', $user, $pass);
This extension allows PHP applications—especially those running under Swoole, ReactPHP, or Amp—to maintain high throughput during database-intensive operations. It effectively decouples the request lifecycle from database latency, a critical feature for real-time dashboards, chat servers, and batch job processors. pdo v2.0 extended features
The PHP Internals team plans to add with support for array parameters in IN clauses natively, and cursor-based batching. $pdo = new PDO('mysql:async=1