diff options
| author | Marcus Boerger <helly@php.net> | 2003-08-28 23:30:16 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-08-28 23:30:16 +0000 |
| commit | 257223bdcc3bca7c1178b9b3889dedee4b9f1625 (patch) | |
| tree | 57673c8680a3062e196f1135684d70d9b86abd79 /ext/sqlite/tests/sqlite_oo_024.phpt | |
| parent | 90561350f92cce92bf2deec323ed3812d1086733 (diff) | |
| download | php-git-257223bdcc3bca7c1178b9b3889dedee4b9f1625.tar.gz | |
Match expected class and instantiated class
Diffstat (limited to 'ext/sqlite/tests/sqlite_oo_024.phpt')
| -rwxr-xr-x | ext/sqlite/tests/sqlite_oo_024.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sqlite/tests/sqlite_oo_024.phpt b/ext/sqlite/tests/sqlite_oo_024.phpt index 8234c2d49a..d6448c5bb8 100755 --- a/ext/sqlite/tests/sqlite_oo_024.phpt +++ b/ext/sqlite/tests/sqlite_oo_024.phpt @@ -27,13 +27,13 @@ foreach ($data as $str) { $db->query("INSERT INTO strings VALUES('$str')"); } -echo "====stdclass====\n"; +echo "====class24====\n"; $res = $db->query("SELECT a FROM strings", SQLITE_ASSOC); while ($res->has_more()) { var_dump($res->fetch_object('class24')); } -echo "====class24!====\n"; +echo "====stdclass====\n"; $res = $db->query("SELECT a FROM strings", SQLITE_ASSOC); while ($res->has_more()) { var_dump($res->fetch_object()); @@ -42,7 +42,7 @@ while ($res->has_more()) { echo "====DONE!====\n"; ?> --EXPECTF-- -====stdclass==== +====class24==== class24::__construct object(class24)#%d (1) { ["a"]=> @@ -58,7 +58,7 @@ object(class24)#%d (1) { ["a"]=> string(5) "three" } -====class24!==== +====stdclass==== object(stdClass)#%d (1) { ["a"]=> string(3) "one" |
