Doc #80789 [NEW]: Return type includes false
| From: | php at hatlak dot de | Date: | Tue, 23 Feb 2021 11:37:59 +0000 |
| Subject: | Doc #80789 [NEW]: Return type includes false | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-18585@lists.php.net to get a copy of this message | ||
From: php at hatlak dot de
Operating system:
PHP version: 7.4.15
Package: PDO Core
Bug Type: Documentation Problem
Bug description:Return type includes false
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 bug report at https://bugs.php.net/bug.php?id=80789&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80789&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80789&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80789&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80789&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80789&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80789&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80789&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80789&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80789&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80789&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80789&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80789&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80789&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80789&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80789&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80789&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80789&r=mysqlcfg