Doc #80500 [Opn->Ver]: pg_fetch_result returns type is wrong according to the doc
| From: | cmb@php.net | Date: | Wed, 09 Dec 2020 17:23:27 +0000 |
| Subject: | Doc #80500 [Opn->Ver]: pg_fetch_result returns type is wrong according to the doc | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18229@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80500&edit=1
ID: 80500
Updated by: cmb@php.net
Reported by: sukei13 at gmail dot com
Summary: pg_fetch_result returns type is wrong according to
the doc
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: PostgreSQL related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-12-09 15:04:09] sukei13 at gmail dot com
Description:
------------
---
From manual page: https://php.net/function.pg-fetch-result
---
According to the documentation, the correct signature is:
pg_fetch_result ( resource $result , int $row , mixed $field ) : string|null|false
pg_fetch_result ( resource $result , mixed $field ) : string|null|false
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80500&edit=1