Edit report at https://bugs.php.net/bug.php?id=78790&edit=1
ID: 78790
Comment by: bugreports3 at gmail dot com
Reported by: bugreports3 at gmail dot com
Summary: Uncaught ArgumentCountError:
mysqli_get_client_info() expects exactly 0 paramet
Status: Re-Opened
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:
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'
Previous Comments:
------------------------------------------------------------------------
[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"
------------------------------------------------------------------------
[2019-11-11 09:02:07] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=87fad8cdf0b978bb7dca5123cb77efd1449c0132
Log: Fix #78790: mysqli_get_client_info() expects exactly 0 parameters
------------------------------------------------------------------------
[2019-11-07 07:53:55] cmb@php.net
Thanks for reporting.
It seems some other mysqli functions are affected as well.
------------------------------------------------------------------------
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