(root)/tests/driver/14fetchmode_object.phpt – Revision 1
Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
--TEST--
|
|
|
2 |
DB_driver::fetchmode object
|
|
|
3 |
--INI--
|
|
|
4 |
error_reporting = 2047
|
|
|
5 |
--SKIPIF--
|
|
|
6 |
<?php chdir(dirname(__FILE__)); require_once './skipif.inc'; ?>
|
|
|
7 |
--FILE--
|
|
|
8 |
<?php
|
|
|
9 |
require_once './mktable.inc';
|
|
|
10 |
require_once '../fetchmode_object.inc';
|
|
|
11 |
?>
|
|
|
12 |
--EXPECT--
|
|
|
13 |
--- fetch with param DB_FETCHMODE_OBJECT ---
|
|
|
14 |
stdclass -> a b c d
|
|
|
15 |
stdclass -> a b c d
|
|
|
16 |
--- fetch with default fetchmode DB_FETCHMODE_OBJECT ---
|
|
|
17 |
stdclass -> a b c d
|
|
|
18 |
stdclass -> a b c d
|
|
|
19 |
--- fetch with default fetchmode DB_FETCHMODE_OBJECT and class DB_row ---
|
|
|
20 |
db_row -> a b c d
|
|
|
21 |
db_row -> a b c d
|
|
|
22 |
--- fetch with default fetchmode DB_FETCHMODE_OBJECT with no class then DB_row ---
|
|
|
23 |
stdclass -> a b c d
|
|
|
24 |
db_row -> a b c d
|