diff options
| author | Marcus Boerger <helly@php.net> | 2004-03-15 20:16:59 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-03-15 20:16:59 +0000 |
| commit | b83663e0f288ab839a7479d097cb9fe2feeac09c (patch) | |
| tree | 0282b5700185dac99ab08519758026531966e87c /ext/pgsql/tests | |
| parent | 0ace9f4885d261b14a0492124c9aa4939abd7f5f (diff) | |
| download | php-git-b83663e0f288ab839a7479d097cb9fe2feeac09c.tar.gz | |
Keep BC of pg_fetch_object
Diffstat (limited to 'ext/pgsql/tests')
| -rwxr-xr-x | ext/pgsql/tests/22pg_fetch_object.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pgsql/tests/22pg_fetch_object.phpt b/ext/pgsql/tests/22pg_fetch_object.phpt index d0b406d879..4f2f5dc184 100755 --- a/ext/pgsql/tests/22pg_fetch_object.phpt +++ b/ext/pgsql/tests/22pg_fetch_object.phpt @@ -1,5 +1,5 @@ --TEST-- -PostgreSQL pg_fetch_*() functions +PostgreSQL pg_fetch_object() --SKIPIF-- <?php include("skipif.inc"); ?> --FILE-- @@ -20,7 +20,7 @@ $sql = "SELECT * FROM $table_name"; $result = pg_query($db, $sql) or die('Cannot qeury db'); $rows = pg_num_rows($result); -var_dump(pg_fetch_object($result, 'test_class', array(1, 2))); +var_dump(pg_fetch_object($result, NULL, 'test_class', array(1, 2))); echo "Ok\n"; ?> |
