php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64631 No bolean return value stated
Submitted: 2013-04-11 14:39 UTC Modified: 2013-06-25 00:36 UTC
From: knl at bitflop dot com Assigned: philip (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.4.14 OS: Debian Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: knl at bitflop dot com
New email:
PHP Version: OS:

 

 [2013-04-11 14:39 UTC] knl at bitflop dot com
Description:
------------
---
From manual page: http://www.php.net/pdostatement.fetchall#refsect1-pdostatement.fetchall-returnvalues
---

The documentation doesn't mention anything about the return value of fetchAll when it doesn't fetch anything.

On fetch it is 'false'.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-13 19:00 UTC] knl at bitflop dot com
On fetchAll() it is an empty array, but that should be mentioned.
 [2013-06-25 00:36 UTC] philip@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&revision=330637
Log: Clarified return value as suggested by PHP Bug #64631
 [2013-06-25 00:36 UTC] philip@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: philip
 [2013-06-25 00:36 UTC] philip@php.net
This is fixed in SVN and php.net will be updated this upcoming Friday.

Thank you for the bug report!
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 03:00:02 2026 UTC