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
 [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

Pull Requests

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: Sat Dec 21 12:01:31 2024 UTC