From ab5c9712264ac7e3125a9fc55dd9590e423ddddd Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 25 Apr 2002 07:19:04 +0000 Subject: [PATCH] Bring back 3rd param and add description for it. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79908 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-fetch-object.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index 22d3d63591..17091cf310 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -12,6 +12,7 @@ objectpg_fetch_object resourceresult introw + intresult_type pg_fetch_object returns an object with @@ -35,6 +36,16 @@ pg_fetch_row (the difference is insignificant). + + + Form 4.3.0, result_type is default to PGSQL_ASSOC while + older versions' default was PGSQL_BOTH. There is no use for numeric property, + since numeric property name is invalid in PHP. + + + result_type may be deleted in future versions. + + See also pg_query, pg_fetch_array, pg_fetch_row and pg_fetch_result.