Doc #80789 [Ver->Csd]: Return type includes false
| From: | cmb@php.net | Date: | Tue, 23 Feb 2021 12:39:00 +0000 |
| Subject: | Doc #80789 [Ver->Csd]: Return type includes false | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18587@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80789&edit=1
ID: 80789
Updated by: cmb@php.net
Reported by: php at hatlak dot de
Summary: Return type includes false
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: PDO Core
PHP Version: 7.4.15
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2021-02-23 11:37:59] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80789&edit=1