diff options
| author | Marcus Boerger <helly@php.net> | 2005-03-07 22:43:27 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-03-07 22:43:27 +0000 |
| commit | bbccc37f84e5ce7048ebf7515329ae036c86d173 (patch) | |
| tree | c6ce4e6949980f07d016e4d42ade5959b3093eab /ext/pdo_pgsql/tests | |
| parent | efb3529b7fd31253e4f69a71cd6cb43da0942199 (diff) | |
| download | php-git-bbccc37f84e5ce7048ebf7515329ae036c86d173.tar.gz | |
- Add new tests
Diffstat (limited to 'ext/pdo_pgsql/tests')
| -rwxr-xr-x | ext/pdo_pgsql/tests/pdo_019.phpt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/tests/pdo_019.phpt b/ext/pdo_pgsql/tests/pdo_019.phpt new file mode 100755 index 0000000000..21d12a75cd --- /dev/null +++ b/ext/pdo_pgsql/tests/pdo_019.phpt @@ -0,0 +1,52 @@ +--TEST-- +PDO_PGSQL: fetch() and while() +--SKIPIF-- +<?php # vim:ft=php +require_once('skipif.inc'); +?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_019.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +===INIT=== +int(1) +int(1) +int(1) +int(1) +string(1) "4" +array(4) { + [0]=> + string(7) "String0" + [1]=> + string(7) "String1" + [2]=> + string(7) "String2" + [3]=> + string(7) "String3" +} +===WHILE=== +array(1) { + [0]=> + string(7) "String0" +} +array(1) { + [1]=> + string(7) "String1" +} +array(1) { + [2]=> + string(7) "String2" +} +array(1) { + [3]=> + string(7) "String3" +} +===DONE=== |
