Bug #49956 [Csd->ReO]: Issues with some procedural style mysqli functions
| From: | levim@php.net | Date: | Sun, 24 May 2015 23:07:55 +0000 |
| Subject: | Bug #49956 [Csd->ReO]: Issues with some procedural style mysqli functions | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-21200@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=49956&edit=1
ID: 49956
Updated by: levim@php.net
Reported by: wiesemann@php.net
Summary: Issues with some procedural style mysqli functions
-Status: Closed
+Status: Re-Opened
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Assigned To: levim
Block user comment: N
Private report: N
New Comment:
I have fixed mysqli_real_escape_string, mysqli_get_connection_stats and friends. However, the
specific case mentioned here of mysqli_num_fields will not work yet. I am unsure how to tackle that
particular one at this time. Perhaps we need a mysqli specific solution to handle the ones that go
from mysqli to mysqli_result.
Previous Comments:
------------------------------------------------------------------------
[2015-05-24 23:03:37] levim@php.net
Automatic comment on behalf of levim
Revision: http://git.php.net/?p=web/php.git;a=commit;h=287cce470d5a84b9b56fbfaef472779671467ae9
Log: Partially fix bug #49956
------------------------------------------------------------------------
[2014-11-28 20:12:20] sobak@php.net
Related To: Bug #64683
------------------------------------------------------------------------
[2014-11-28 20:11:51] sobak@php.net
Related To: Bug #68513
------------------------------------------------------------------------
[2014-11-28 20:11:15] sobak@php.net
Related To: Bug #66913
------------------------------------------------------------------------
[2009-10-22 13:15:34] wiesemann@php.net
Description:
------------
While e.g. http://php.net/mysql_num_fields shows the
documentation for mysql_num_fields(), this doesn't work for http://php.net/mysqli_num_fields (=> "Sorry, but
the function mysqli_num_fields is not in the online manual."). The reason seems to be that the
OO-style name is mysqli_result->field_count. The redirection works for e.g. mysqli_num_rows()
which OO-style is has the same scheme: mysqli_result->num_rows.
This is not only an issue with the php.net/functionname redirection, but also with the search field
in the right upper corner of the website. Searching for "mysqli_num_fields" in the
"function list" leads to the same error as described above. Searching in the "online
documentation" works, though.
(There might be other examples than mysqli_*, of course.)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=49956&edit=1