--TEST-- PDO_sqlite: Testing empty filename --EXTENSIONS-- pdo_sqlite --FILE-- exec('CREATE TABLE test1 (id INT);')); // create with empty URI $db = new PDO('sqlite:file:?cache=shared'); var_dump($db->exec('CREATE TABLE test1 (id INT);')); ?> --EXPECT-- int(0) int(0)