Bug #68554 [Asn->Csd]: mysqli_stmt::next_result unavailable before php 5.4
| From: | aharvey@php.net | Date: | Fri, 05 Dec 2014 19:19:17 +0000 |
| Subject: | Bug #68554 [Asn->Csd]: mysqli_stmt::next_result unavailable before php 5.4 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11724@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: Assigned
+Status: Closed
Type: Bug
Package: Documentation problem
Operating System: CentOS
PHP Version: Irrelevant
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Looks like only mysqli_stmt_more_results and mysqli_stmt_next_result were incorrectly documented
there.
Previous Comments:
------------------------------------------------------------------------
[2014-12-05 19:18:55] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=335248
Log: Fix version and mysqlnd dependencies for mysqli_stmt_{more,next}_result.
Fixes doc bug #68554 (mysqli_stmt::next_result unavailable before php 5.4).
------------------------------------------------------------------------
[2014-12-05 19:09:10] aharvey@php.net
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.
------------------------------------------------------------------------
[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