#50909 [Asn->Csd]: Better wording for Return values
| From: | abedford@php.net | Date: | Tue, 02 Feb 2010 13:42:33 +0000 |
| Subject: | #50909 [Asn->Csd]: Better wording for Return values | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3819@lists.php.net to get a copy of this message | ||
ID: 50909
Updated by: abedford@php.net
Reported By: correo+phpnet at javierlinares dot com
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
Assigned To: abedford
New Comment:
Thanks for the report. Has been fixed in the XML sources.
Previous Comments:
------------------------------------------------------------------------
[2010-02-02 13:41:13] svn@php.net
Automatic comment from SVN on behalf of abedford
Revision: http://svn.php.net/viewvc/?view=revision&revision=294338
Log: Changed wording of return values statement. Fixes bug #50909.
------------------------------------------------------------------------
[2010-02-02 12:12:22] correo+phpnet at javierlinares dot com
Description:
------------
Page: http://php.net/mysqli_query
The 'Return values' says:
Returns TRUE on success or FALSE on failure. For SELECT, SHOW, DESCRIBE
or EXPLAIN mysqli_query() will return a result object.
Maybe a better wording could be clearer, similar to that:
Returns FALSE on failure. If success, returns a result object for
SELECT, SHOW, DESCRIBE or EXPLAIN and TRUE for the rest of queries.
Disclaimer: I am not English native. ;)
Reproduce code:
---------------
---
From manual page: mysqli.query#Return Values
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50909&edit=1