Edit report at https://bugs.php.net/bug.php?id=78790&edit=1
ID: 78790
Updated by: cmb@php.net
Reported by: bugreports3 at gmail dot com
Summary: mysqli_get_client_info() expects exactly 0
parameters, 1 given
-Status: Re-Opened
+Status: Closed
Type: Bug
Package: MySQLi related
Operating System: Linux
PHP Version: master-Git-2019-11-06 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=55fd97c576f2d0f2a6e964d14b913b7ea2d88caa
Log: Fix #78790: mysqli_get_client_info() expects exactly 0 parameters, 1 given
Previous Comments:
------------------------------------------------------------------------
[2019-12-30 15:35:34] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #78790: mysqli_get_client_info() expects exactly 0 parameters, 1 â¦
On GitHub: https://github.com/php/php-src/pull/5041
Patch: https://github.com/php/php-src/pull/5041.patch
------------------------------------------------------------------------
[2019-11-27 22:30:47] bugreports3 at gmail dot com
still the same with fresh snapshot
8 hours ago Dmitry Stogov Fixed wrong parameteris order master commit | commitdiff | tree |
snapshot (zip tar.gz)
FAILED: NOT ALL TESTS PASSED
[27-Nov-2019 23:26:17] AUTOTEST ERROR-HANDLER - code: '1024', msg: 'FAILED:
custom/phpincludes_mysql.php - Exception - ArgumentCountError: mysqli_get_client_info() expects
exactly 0 parameters, 1 given in /phpincludes/global_mysql_class.inc.php:929 Stack trace: #0
/phpincludes/global_mysql_class.inc.php(929): mysqli_get_client_info() #1
/autotests/custom/phpincludes_mysql.php(442): mysql_class->get_client_info() #2
/autotests/suite/custom.php(37): require('/w...') #3 /autotest.php(455): cl_custom_test()
#4 {main}', file: '/cms/cms/autotests/suite/custom.php:42'
------------------------------------------------------------------------
[2019-11-11 13:35:33] cmb@php.net
I had to revert the fix, because there are issues regarding the
usage of mysqli_get_client_info() without argument, which has been
supported before. I'm waiting on feedback regarding this[1].
[1] <https://github.com/php/php-src/pull/4878#discussion_r344636434>
------------------------------------------------------------------------
[2019-11-11 13:19:38] bugreports3 at gmail dot com
ArgumentCountError: mysqli_get_client_info() expects exactly 0 parameters, 1 given still exists
including "mysqli_get_client_info(Object(mysqli))" and also no change by https://git.php.net/?p=php-src.git;a=commitdiff;h=adcc35916ac775366a1949f6838c585be376d678
tried https://git.php.net/?p=php-src.git;a=snapshot;h=2804ea612779b89d3c62d974eb35783dd31f7dee;sf=tgz
recently
------------------------------------------------------------------------
[2019-11-11 09:06:28] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b0391c3e263fd40515fb30e5cdc8f0dfed0b65ec
Log: Revert "Fix #78790: mysqli_get_client_info() expects exactly 0 parameters"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=78790
--
Edit this bug report at https://bugs.php.net/bug.php?id=78790&edit=1