Doc #54471 [Opn->Bgs]: return values vs. example
| From: | aharvey@php.net | Date: | Wed, 06 Apr 2011 07:07:45 +0000 |
| Subject: | Doc #54471 [Opn->Bgs]: return values vs. example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6192@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54471&edit=1
ID: 54471
Updated by: aharvey@php.net
Reported by: mail at soin dot ro
Summary: return values vs. example
-Status: Open
+Status: Bogus
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
The example does an explode() before outputting, which transforms the
string mysql_stat() returns into an array.
Previous Comments:
------------------------------------------------------------------------
[2011-04-05 18:51:45] mail at soin dot ro
Description:
------------
---
From manual page: http://www.php.net/function.mysql-stat#Return
Values
---
In the return values section of mysql_stat you state that "Returns a
string", but in the example it returns an array.
Cheers!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54471&edit=1