mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
25 lines
655 B
PHP
25 lines
655 B
PHP
--TEST--
|
|
DB_driver::fetchmode object
|
|
--INI--
|
|
error_reporting = 2047
|
|
--SKIPIF--
|
|
<?php chdir(dirname(__FILE__)); require_once './skipif.inc'; ?>
|
|
--FILE--
|
|
<?php
|
|
require_once './mktable.inc';
|
|
require_once '../fetchmode_object.inc';
|
|
?>
|
|
--EXPECT--
|
|
--- fetch with param DB_FETCHMODE_OBJECT ---
|
|
stdclass -> a b c d
|
|
stdclass -> a b c d
|
|
--- fetch with default fetchmode DB_FETCHMODE_OBJECT ---
|
|
stdclass -> a b c d
|
|
stdclass -> a b c d
|
|
--- fetch with default fetchmode DB_FETCHMODE_OBJECT and class DB_row ---
|
|
db_row -> a b c d
|
|
db_row -> a b c d
|
|
--- fetch with default fetchmode DB_FETCHMODE_OBJECT with no class then DB_row ---
|
|
stdclass -> a b c d
|
|
db_row -> a b c d
|