home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / 14fetchmode_object.phpt < prev    next >
Encoding:
Text File  |  2004-03-24  |  624 b   |  23 lines

  1. --TEST--
  2. DB_driver::fetchmode object
  3. --SKIPIF--
  4. <?php chdir(dirname(__FILE__)); require_once './skipif.inc'; ?>
  5. --FILE--
  6. <?php
  7. require_once './mktable.inc';
  8. require_once '../fetchmode_object.inc';
  9. ?>
  10. --EXPECT--
  11. --- fetch with param DB_FETCHMODE_OBJECT ---
  12. stdclass -> a b c d
  13. stdclass -> a b c d
  14. --- fetch with default fetchmode DB_FETCHMODE_OBJECT ---
  15. stdclass -> a b c d
  16. stdclass -> a b c d
  17. --- fetch with default fetchmode DB_FETCHMODE_OBJECT and class DB_row ---
  18. db_row -> a b c d
  19. db_row -> a b c d
  20. --- fetch with default fetchmode DB_FETCHMODE_OBJECT with no class then DB_row ---
  21. stdclass -> a b c d
  22. db_row -> a b c d
  23.