mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Import from DCARF SVN
This commit is contained in:
24
include/pear/tests/driver/14fetchmode_object.phpt
Normal file
24
include/pear/tests/driver/14fetchmode_object.phpt
Normal file
@@ -0,0 +1,24 @@
|
||||
--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
|
||||
Reference in New Issue
Block a user