#50491 [Opn->Csd]: mysql_fetch_object return value incorrect
| From: | rquadling@php.net | Date: | Wed, 16 Dec 2009 13:54:39 +0000 |
| Subject: | #50491 [Opn->Csd]: mysql_fetch_object return value incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3482@lists.php.net to get a copy of this message | ||
ID: 50491
Updated by: rquadling@php.net
Reported By: presto dot dk at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Redundant paragraph removed.
Previous Comments:
------------------------------------------------------------------------
[2009-12-16 13:54:22] svn@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=292209
Log: Remove incorrect/redundant paragraph. Fix#50491
------------------------------------------------------------------------
[2009-12-16 13:15:45] presto dot dk at gmail dot com
Description:
------------
mysql_fetch_object return value describes the mysql_fetch_row behavior.
Reproduce code:
---------------
---
From manual page: function.mysql-fetch-object#Return Values
---
Expected result:
----------------
mysql_fetch_object() fetches one row of data from the result associated
with the specified result identifier. The row is returned as an object.
Each result column is stored in an object property with the field name
as property name and field value as property value.
Actual result:
--------------
mysql_fetch_row() fetches one row of data from the result associated
with the specified result identifier. The row is returned as an array.
Each result column is stored in an array offset, starting at offset 0.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50491&edit=1