php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80500 pg_fetch_result returns type is wrong according to the doc
Submitted: 2020-12-09 15:04 UTC Modified: 2020-12-09 17:23 UTC
From: sukei13 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: PostgreSQL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sukei13 at gmail dot com
New email:
PHP Version: OS:

 

 [2020-12-09 15:04 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-09 17:23 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-12-09 17:29 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=351978
Log: Fix #80500: pg_fetch_result returns type is wrong according to the doc
 [2020-12-09 17:30 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=8ce54b1eee0148bbd8955ae449235fc011c34fcc
Log: Fix #80500: pg_fetch_result returns type is wrong according to the doc
 [2020-12-09 17:30 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-12-10 00:52 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=351985
Log: Fix #80500: pg_fetch_result returns type is wrong according to the doc
 [2020-12-10 00:55 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=35260a33e8e39678395d6798f730f7e1acc9bff6
Log: Fix #80500: pg_fetch_result returns type is wrong according to the doc
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=9cc4f90c0df97067aabc6e6625c1d659d45e9f83
Log: Fix #80500: pg_fetch_result returns type is wrong according to the doc
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 16:00:03 2025 UTC