|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
43 - 7 = ?
Subscribe to this entry?

 [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