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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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)

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 09:01:27 2025 UTC