|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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: Sun Sep 19 09:03:37 2021 UTC