Doc #54797 [Opn->Csd]: Missing default value for last parameter of pg_fetch_array

From: Date: Wed, 18 May 2011 21:43:01 +0000
Subject: Doc #54797 [Opn->Csd]: Missing default value for last parameter of pg_fetch_array
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6574@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54797&edit=1 ID: 54797 Updated by: pierrick@php.net Reported by: gwarnants at gmail dot com Summary: Missing default value for last parameter of pg_fetch_array -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: pierrick Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-05-18 23:42:53] pierrick@php.net Automatic comment from SVN on behalf of pierrick Revision: http://svn.php.net/viewvc/?view=revision&revision=311218 Log: Fixed bug #54797 ------------------------------------------------------------------------ [2011-05-17 16:06:03] gwarnants at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.pg-fetch-array#Description --- According to parameters description, it seems default values for optional parameter $result_type should be set with PGSQL_BOTH constant. Regards, Geoffray Expected result: ---------------- array pg_fetch_array ( resource $result [, int $row [, int $result_type = PGSQL_BOTH ]] ) Actual result: -------------- array pg_fetch_array ( resource $result [, int $row [, int $result_type ]] ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54797&edit=1

« previous php.doc.bugs (#6574) next »