php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53498 wrong method name
Submitted: 2010-12-08 15:59 UTC Modified: 2010-12-11 06:08 UTC
From: hannes at knowingweb dot com Assigned: dtajchreber (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant 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: hannes at knowingweb dot com
New email:
PHP Version: OS:

 

 [2010-12-08 15:59 UTC] hannes at knowingweb dot com
Description:
------------
---
From manual page: http://www.php.net/mysqli-result.fetch-assoc#Examples
---
In the first example the code listing says:

/* free result set */
$result->close();

This is however not a method on the mysqli_result but should be as in the second (procedural) example:

mysqli_free_result($result);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-11 06:08 UTC] dtajchreber@php.net
Automatic comment from SVN on behalf of dtajchreber
Revision: http://svn.php.net/viewvc/?view=revision&revision=306220
Log: Fixed bug #53498 corrected error in mysqli_result example
 [2010-12-11 06:08 UTC] dtajchreber@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: dtajchreber
 [2010-12-11 06:08 UTC] dtajchreber@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of dtajchreber
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=9f8cbacff2723b9031d8ef856bcbac68cde63666
Log: Fixed bug #53498 corrected error in mysqli_result example
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 16:00:02 2026 UTC