php-src/ext/pdo_pgsql/tests/pdo_004.phpt
Marcus Boerger b89fda667f - Drop driver name from generic tests and reserve those names for driver
specific tests.
# Well a little design correction
2005-02-24 00:11:16 +00:00

42 lines
572 B
PHP
Executable File

--TEST--
PDO_PGSQL: PDO_FETCH_OBJ
--SKIPIF--
<?php # vim:ft=php
require_once('skipif.inc'); ?>
--FILE--
<?php
require_once('connection.inc');
require_once('prepare.inc');
require_once($PDO_TESTS . 'pdo_004.inc');
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
array(3) {
[0]=>
object(stdClass)#%d (2) {
["id"]=>
int(1)
["val"]=>
string(1) "A"
}
[1]=>
object(stdClass)#%d (2) {
["id"]=>
int(2)
["val"]=>
string(1) "B"
}
[2]=>
object(stdClass)#%d (2) {
["id"]=>
int(3)
["val"]=>
string(1) "C"
}
}
===DONE===