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