diff options
Diffstat (limited to 'ext/pdo/tests/pdo_test.inc')
-rw-r--r-- | ext/pdo/tests/pdo_test.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/pdo/tests/pdo_test.inc b/ext/pdo/tests/pdo_test.inc index b4e68da4a8..2f1fb3438d 100644 --- a/ext/pdo/tests/pdo_test.inc +++ b/ext/pdo/tests/pdo_test.inc @@ -31,6 +31,14 @@ class PDOTest { $db->setAttribute(PDO_ATTR_CASE, PDO_CASE_LOWER); return $db; } + + static function skip() { + try { + $db = PDOTest::factory(); + } catch (PDOException $e) { + echo "skip " . $e->getMessage(); + } + } } |