php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66612 Return type mentioned in note is wrong
Submitted: 2014-01-30 12:02 UTC Modified: 2017-01-28 12:30 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jon at jonbevan dot me dot uk Assigned:
Status: Open 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jon at jonbevan dot me dot uk
New email:
PHP Version: OS:

 

 [2014-01-30 12:02 UTC] jon at jonbevan dot me dot uk
Description:
------------
---
From manual page: http://www.php.net/mysqli-stmt.store-result
---
The first note box states "...checking if mysqli_stmt_result_metadata() returns NULL" which it never does according to it's manual page (http://www.php.net/manual/en/mysqli-stmt.result-metadata.php): "Returns a result object or FALSE if an error occurred."

Expected result:
----------------
...checking if mysqli_stmt_result_metadata() returns FALSE and mysqli_stmt_errno() returns 0.

Actual result:
--------------
...checking if mysqli_stmt_result_metadata() returns NULL.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 12:30 UTC] cmb@php.net
-Package: Documentation problem +Package: MySQLi related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Nov 16 23:01:41 2019 UTC