php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55860 mysqli_refresh still exists and is undocumented
Submitted: 2011-10-06 13:06 UTC Modified: 2011-12-09 07:55 UTC
From: uw@php.net Assigned: philip (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.4SVN-2011-10-06 (snap) 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: uw@php.net
New email:
PHP Version: OS:

 

 [2011-10-06 13:06 UTC] uw@php.net
Description:
------------
mysqli_refresh() exists in 5.4

 sapi/cli/php -r 'mysqli_refresh("foo");'
PHP Warning:  mysqli_refresh() expects exactly 2 parameters, 1 given in Command line code on line 1


According to the documentation is it only available until 5.3

nixnutz@linux-fuxh:~/php/phpdoc> grep -R refresh en/reference/mysqli/
en/reference/mysqli/versions.xml: <function name='mysqli_refresh' from='PHP 5 &lt;= 5.3.0'/>
en/reference/mysqli/.svn/text-base/versions.xml.svn-base: <function name='mysqli_refresh' from='PHP 5 &lt;= 5.3.0'/>



Test script:
---------------
See above

Expected result:
----------------
Either update docs or remove function ?! Deprecate it at least...


Patches

ahmed205 (last revision 2011-10-07 00:10 UTC by elshakry at yahoo dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-18 20:33 UTC] andrey@php.net
-Package: MySQLi related +Package: Documentation problem -Assigned To: +Assigned To: philip
 [2011-10-18 20:33 UTC] andrey@php.net
This function needs documentation. Here is the mysql documentation:
http://dev.mysql.com/doc/refman/5.0/en/mysql-refresh.html
 [2011-12-09 07:55 UTC] philip@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=320747
Log: Documented mysqli_refresh(), closes PHP bug #55860
 [2011-12-09 07:55 UTC] philip@php.net
-Status: Assigned +Status: Closed
 [2011-12-09 07:55 UTC] philip@php.net
Fixed in SVN, thanks for the bug report :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 16:01:31 2024 UTC