diff options
| author | Dharman <tekiela246@gmail.com> | 2021-03-13 17:34:33 +0000 |
|---|---|---|
| committer | Dharman <tekiela246@gmail.com> | 2021-03-17 20:10:18 +0000 |
| commit | 7e9f6d2a48f8ff6ae458252d395eec1b1d9e6f14 (patch) | |
| tree | 97ba101d228e2a8042c621599d5ac4fe67abaa73 /ext/mysqli/mysqli_arginfo.h | |
| parent | eb8f5e43475e44f8746a2357ed8c3cd60b426eb0 (diff) | |
| download | php-git-7e9f6d2a48f8ff6ae458252d395eec1b1d9e6f14.tar.gz | |
Deprecate OO style mysqli::get_client_info method
Deprecate passing connection object to mysqli_get_client_info()
Closes GH-6777.
Diffstat (limited to 'ext/mysqli/mysqli_arginfo.h')
| -rw-r--r-- | ext/mysqli/mysqli_arginfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_arginfo.h b/ext/mysqli/mysqli_arginfo.h index 9c55a6bfc8..b607b5ae36 100644 --- a/ext/mysqli/mysqli_arginfo.h +++ b/ext/mysqli/mysqli_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 56499df713b79c1e9efc19cf8be45aa98028172c */ + * Stub hash: e65b3497e7783d55f3dfd4cd89be65094c59b1d3 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING) ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0) @@ -938,7 +938,7 @@ static const zend_function_entry class_mysqli_methods[] = { ZEND_ME_MAPPING(dump_debug_info, mysqli_dump_debug_info, arginfo_class_mysqli_dump_debug_info, ZEND_ACC_PUBLIC) ZEND_ME_MAPPING(debug, mysqli_debug, arginfo_class_mysqli_debug, ZEND_ACC_PUBLIC) ZEND_ME_MAPPING(get_charset, mysqli_get_charset, arginfo_class_mysqli_get_charset, ZEND_ACC_PUBLIC) - ZEND_ME_MAPPING(get_client_info, mysqli_get_client_info, arginfo_class_mysqli_get_client_info, ZEND_ACC_PUBLIC) + ZEND_ME_MAPPING(get_client_info, mysqli_get_client_info, arginfo_class_mysqli_get_client_info, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED) #if defined(MYSQLI_USE_MYSQLND) ZEND_ME_MAPPING(get_connection_stats, mysqli_get_connection_stats, arginfo_class_mysqli_get_connection_stats, ZEND_ACC_PUBLIC) #endif |
