php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mail at soin dot ro
New email:
PHP Version: OS:

 

 [2011-04-05 18:51 UTC] 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!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-06 09:07 UTC] aharvey@php.net
-Status: Open +Status: Bogus
 [2011-04-06 09:07 UTC] aharvey@php.net
The example does an explode() before outputting, which transforms the string mysql_stat() returns into an array.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 19:01:37 2025 UTC