Doc #66612 [Opn->Csd]: Return type mentioned in note is wrong

From: Date: Sat, 28 Nov 2020 00:01:40 +0000
Subject: Doc #66612 [Opn->Csd]: Return type mentioned in note is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18163@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66612&edit=1 ID: 66612 Updated by: dharman@php.net Reported by: jon at jonbevan dot me dot uk Summary: Return type mentioned in note is wrong -Status: Open +Status: Closed Type: Documentation Problem Package: MySQLi related PHP Version: Irrelevant -Assigned To: +Assigned To: dharman Block user comment: N Private report: N New Comment: Thanks for the report. The fix has been suggested earlier this year as a PR[1] and the relevant documentation note was updated. [1] <https://github.com/php/doc-en/pull/25> Previous Comments: ------------------------------------------------------------------------ [2014-01-30 12:02:05] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66612&edit=1

« previous php.doc.bugs (#18163) next »