1--TEST-- 2Calling PDO::connect through the wrong classname 3--EXTENSIONS-- 4pdo_pgsql 5pdo_sqlite 6--FILE-- 7<?php 8 9try { 10 Pdo\Pgsql::connect('sqlite::memory:'); 11} catch (PDOException $e) { 12 echo $e->getMessage() . "\n"; 13} 14 15?> 16--EXPECT-- 17Pdo\Pgsql::connect() cannot be used for connecting to the "sqlite" driver, either call Pdo\Sqlite::connect() or PDO::connect() instead 18