Doc #64631 [Opn]: No bolean return value stated
Edit report at https://bugs.php.net/bug.php?id=64631&edit=1
ID: 64631
User updated by: knl at bitflop dot com
Reported by: knl at bitflop dot com
Summary: No bolean return value stated
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: Debian Linux
PHP Version: 5.4.14
Block user comment: N
Private report: N
New Comment:
On fetchAll() it is an empty array, but that should be mentioned.
Previous Comments:
------------------------------------------------------------------------
[2013-04-11 14:39:06] 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'.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64631&edit=1
Thread (3 messages)