1--TEST--
2PDO MySQL SHOW TABLES
3--SKIPIF--
4<?php
5if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
6require __DIR__ . '/config.inc';
7require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
8PDOTest::skip();
9?>
10--FILE--
11<?php
12require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
13$db = PDOTest::test_factory(__DIR__ . '/common.phpt');
14
15print_r($db->query('SHOW TABLES'));
16?>
17--EXPECT--
18PDOStatement Object
19(
20    [queryString] => SHOW TABLES
21)
22