Each PDO driver now has it's own class, extending \PDO, containing (a copy of) driver specific elements



A new factory method, PDO::connect returns an object representing one of the new subclasses:

<?php
$db = PDO::connect('sqlite::memory:');
if (!$db instanceof Pdo\Sqlite) {
    *// ERROR ZONE*
}