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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Wed Nov 20 09:01:27 2019 UTC