|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54471 return values vs. example
Submitted: 2011-04-05 18:51 UTC Modified: 2011-04-06 09:07 UTC
From: mail at soin dot ro Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.3.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mail at soin dot ro
New email:
PHP Version: OS:


 [2011-04-05 18:51 UTC] mail at soin dot ro
From manual page: Values

In the return values section of mysql_stat you state that "Returns a string", but in the example it returns an array.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-06 09:07 UTC]
-Status: Open +Status: Bogus
 [2011-04-06 09:07 UTC]
The example does an explode() before outputting, which transforms the string mysql_stat() returns into an array.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 10:01:24 2021 UTC