php.net |  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: 2016-12-31 18:44 UTC
From: marcgala at hotmail dot com Assigned:
Status: Open Package: MySQLi related
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 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.
Password:
Status:
Package:
Bug Type:
Summary:
From: marcgala at hotmail dot com
New email:
PHP Version: OS:

 

 [2016-01-16 19:47 UTC] marcgala at hotmail dot com
Description:
------------
http://php.net/manual/en/mysqli-result.free.php 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 http://php.net/manual/en/mysqli-stmt.get-result.php use mysqli_result and do never call any variant of mysqli_free_result().
This is inconsistent.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 18:44 UTC] cmb@php.net
-Package: Documentation problem +Package: MySQLi related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 09:01:23 2019 UTC