php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80789 Return type includes false
Submitted: 2021-02-23 11:37 UTC Modified: 2021-02-23 12:26 UTC
From: php at hatlak dot de Assigned: cmb (profile)
Status: Closed Package: PDO Core
PHP Version: 7.4.15 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at hatlak dot de
New email:
PHP Version: OS:

 

 [2021-02-23 11:37 UTC] php at hatlak dot de
Description:
------------
---
From manual page: https://php.net/pdostatement.fetchall
---

"An empty array is returned if there are zero results to fetch, or false on failure."

The return type does not currently reflect that.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-23 12:26 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-02-23 12:39 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=0eaef37f83899ede9347b96611e79bd8e181f2dc
Log: Fix #80789: Return type includes false
 [2021-02-23 12:39 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2021-02-23 12:54 UTC] mumumu@php.net
Automatic comment on behalf of mumumu@mumumu.org
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=263d0d6afcbc75d5c83dad4ae56b3de7c888b322
Log: Fix #80789: Return type includes false
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC