svn: /phpdoc/en/trunk/reference/mysql/functions/ mysql-query.xml
| From: | Philip Olson | Date: | Tue, 25 Feb 2014 23:38:09 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysql/functions/ mysql-query.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12164@lists.php.net to get a copy of this message | ||
philip Tue, 25 Feb 2014 23:38:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=332891
Log:
mysql_query() return is mixed, as the statement type determines whether resource or boolean is
returned. Reported by PHP Bug #66697
Bug: https://bugs.php.net/66697 (Open) Return type error in
function.mysql-query
Changed paths:
U phpdoc/en/trunk/reference/mysql/functions/mysql-query.xml
Modified: phpdoc/en/trunk/reference/mysql/functions/mysql-query.xml
===================================================================
--- phpdoc/en/trunk/reference/mysql/functions/mysql-query.xml 2014-02-25 23:29:02 UTC (rev 332890)
+++ phpdoc/en/trunk/reference/mysql/functions/mysql-query.xml 2014-02-25 23:38:09 UTC (rev 332891)
@@ -19,7 +19,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>resource</type><methodname>mysql_query</methodname>
+ <type>mixed</type><methodname>mysql_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
<methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter><initializer>NULL</initializer></methodparam>
</methodsynopsis>