|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71392 Incosistent recommendations whether to use mysqli_free_result()
Submitted: 2016-01-16 19:47 UTC Modified: 2020-12-13 15:33 UTC
From: marcgala at hotmail dot com Assigned: dharman (profile)
Status: Closed Package: MySQLi related
PHP Version: Irrelevant 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: marcgala at hotmail dot com
New email:
PHP Version: OS:


 [2016-01-16 19:47 UTC] marcgala at hotmail dot com
------------ explicitly claims that:
"You should always free your result with mysqli_free_result(), when your result object is not needed anymore."
However, both examples at use mysqli_result and do never call any variant of mysqli_free_result().
This is inconsistent.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 18:44 UTC]
-Package: Documentation problem +Package: MySQLi related
 [2020-12-13 15:33 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: dharman
 [2020-12-13 15:33 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

The misleading note was removed. Thanks for pointing it out. 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jan 21 08:01:25 2021 UTC