From f6239c33bc5208fd3e9e6bf0f8a862b1f97a34d8 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 6 Sep 2003 18:34:55 +0000 Subject: 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. --- ext/pgsql/tests/03sync_query.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pgsql/tests/03sync_query.phpt') 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++) { -- cgit v1.2.1