summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_mysql/tests/pdo_mysql_subclass.phpt')
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_subclass.phpt6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt b/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt
index fbe0e17965..90d4fb25ba 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt
@@ -36,7 +36,7 @@ if (version_compare(PHP_VERSION, '5.0.0', '<'))
}
public function __call($method, $args) {
- print "__call(".var_export($method,true).", ".var_export($args, true).")\n";
+ print "__call()";
// $this->protocol();
}
@@ -74,8 +74,10 @@ if (version_compare(PHP_VERSION, '5.0.0', '<'))
$db->exec('DROP TABLE IF EXISTS test');
print "done!\n";
?>
+--XFAIL--
+PDO doesn't like __call()
--EXPECTF--
-__construct('%S', '%S', '%S')
+__construct('%s', '%s', '%s')
exec('DROP TABLE IF EXISTS test')
exec('CREATE TABLE test(id INT)')
exec('INSERT INTO test(id) VALUES (1), (2)')