diff options
Diffstat (limited to 'ext/pdo_mysql/tests/bug46292.phpt')
| -rw-r--r-- | ext/pdo_mysql/tests/bug46292.phpt | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/ext/pdo_mysql/tests/bug46292.phpt b/ext/pdo_mysql/tests/bug46292.phpt index 80423bc7a..a0f9716c6 100644 --- a/ext/pdo_mysql/tests/bug46292.phpt +++ b/ext/pdo_mysql/tests/bug46292.phpt @@ -50,32 +50,35 @@ if (version_compare(PHP_VERSION, '5.1.0', '<')) var_dump($stmt->fetch()); var_dump($stmt->fetch()); var_dump($stmt->fetchAll()); - - $pdoDb->query('DROP TABLE IF EXISTS testz'); - +?> +--CLEAN-- +<?php +require dirname(__FILE__) . '/mysql_pdo_test.inc'; +$db = MySQLPDOTest::factory(); +$db->exec('DROP TABLE IF EXISTS testz'); ?> --EXPECTF-- bool(true) myclass::__construct() object(myclass)#%d (1) { - ["value"]=> - string(1) "1" + [%u|b%"value"]=> + %unicode|string%(1) "1" } myclass::__construct() object(myclass2)#%d (1) { - ["value"]=> - string(1) "2" + [%u|b%"value"]=> + %unicode|string%(1) "2" } myclass::__construct() array(2) { [0]=> object(myclass)#%d (1) { - ["value"]=> + [%u|b%"value"]=> NULL } [1]=> object(stdClass)#%d (1) { - ["value"]=> + [%u|b%"value"]=> NULL } } |
