Bug #68554 [Opn->Asn]: mysqli_stmt::next_result unavailable before php 5.4

From: Date: Fri, 05 Dec 2014 19:09:10 +0000
Subject: Bug #68554 [Opn->Asn]: mysqli_stmt::next_result unavailable before php 5.4
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11723@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68554&edit=1 ID: 68554 Updated by: aharvey@php.net Reported by: zburnham at gmail dot com Summary: mysqli_stmt::next_result unavailable before php 5.4 -Status: Open +Status: Assigned Type: Bug Package: Documentation problem Operating System: CentOS PHP Version: Irrelevant -Assigned To: +Assigned To: aharvey Block user comment: N Private report: N New Comment: Looks like it was in 5.3, but only when mysqli was built against mysqlnd, and not in previous versions. I'll do a sweep — I'm guessing there are more functions than just this in that boat. Previous Comments: ------------------------------------------------------------------------ [2014-12-05 18:58:14] zburnham at gmail dot com Description: ------------ The mysqli documentation describes the mysqli_stmt::next_result method, and only says that php 5 is required. This is not true. It is only available on 5.4.x and newer. I realize that php 5.3 is EOL. I'm not asking for it to be patched to provide this method. I would like for the documentation at http://php.net/manual/en/mysqli-stmt.next-result.php to be updated to reflect this. In addition, http://php.net/manual/en/class.mysqli-stmt.php lists no 'next_result' method in the class block, but it appears in the "Table of Contents" below it. This should probably be consistent. Test script: --------------- <?php var_dump(method_exists('mysqli_stmt','next_result')); Expected result: ---------------- bool(true) Actual result: -------------- bool(false) // php 5.3.x bool(true) // php 5.4.x ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68554&edit=1

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