diff options
Diffstat (limited to 'ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt index 881e6dc990..067f9ca704 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt @@ -63,9 +63,13 @@ try { $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo())); } -$db->exec('DROP TABLE IF EXISTS test'); print "done!"; ?> +--CLEAN-- +<?php +require dirname(__FILE__) . '/mysql_pdo_test.inc'; +MySQLPDOTest::dropTestTable(); +?> --EXPECTF-- myclass::__set(id, -'1'-) 1 myclass::__set(, -''-) 2 @@ -83,13 +87,13 @@ myclass::__set(null, -NULL-) 3 myclass::__set(, -''-) 4 myclass::__construct(2, 3): 12 / 4 object(myclass)#%d (4) { - [u"set_calls":u"myclass":private]=> + [%u|b%"set_calls":"myclass":private]=> int(4) - [u"grp":protected]=> + [%u|b%"grp":protected]=> NULL - [u"id"]=> - string(1) "3" - [u"null"]=> + [%u|b%"id"]=> + %unicode|string%(1) "3" + [%u|b%"null"]=> NULL } done!
\ No newline at end of file |