summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/03sync_query.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-09-06 18:34:55 +0000
committerMarcus Boerger <helly@php.net>2003-09-06 18:34:55 +0000
commitf6239c33bc5208fd3e9e6bf0f8a862b1f97a34d8 (patch)
tree723401ea295684856b1a99423a2c8b08ace30dd9 /ext/pgsql/tests/03sync_query.phpt
parent620683792942d458df0a2a09aff2f163074f77ae (diff)
downloadphp-git-f6239c33bc5208fd3e9e6bf0f8a862b1f97a34d8.tar.gz
Modify pg_fetch_object() to be able to instantiate a selected class and pass
parameters to the constructor. Update tests and add a test for these features.
Diffstat (limited to 'ext/pgsql/tests/03sync_query.phpt')
-rw-r--r--ext/pgsql/tests/03sync_query.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/03sync_query.phpt b/ext/pgsql/tests/03sync_query.phpt
index c65426d7d8..96827fe5a2 100644
--- a/ext/pgsql/tests/03sync_query.phpt
+++ b/ext/pgsql/tests/03sync_query.phpt
@@ -20,7 +20,7 @@ for ($i=0; $i < $rows; $i++)
}
for ($i=0; $i < $rows; $i++)
{
- pg_fetch_object($result, $i, PGSQL_ASSOC);
+ pg_fetch_object($result);
}
for ($i=0; $i < $rows; $i++)
{