Doc #80789 [Opn->Ver]: Return type includes false
| From: | cmb@php.net | Date: | Tue, 23 Feb 2021 12:26:34 +0000 |
| Subject: | Doc #80789 [Opn->Ver]: Return type includes false | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18586@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: Open
+Status: Verified
Type: Documentation Problem
Package: PDO Core
PHP Version: 7.4.15
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
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