Fix gc_status type info

Closes GH-11722
This commit is contained in:
Ilija Tovilo 2023-07-17 10:51:14 +02:00
parent d04f48b6ac
commit 1c76da62db
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ static const func_info_t func_infos[] = {
F1("get_defined_constants", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_ANY),
F1("debug_backtrace", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_ARRAY),
F1("get_extension_funcs", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
F1("gc_status", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_FALSE|MAY_BE_ARRAY_OF_TRUE),
F1("gc_status", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_DOUBLE|MAY_BE_ARRAY_OF_FALSE|MAY_BE_ARRAY_OF_TRUE),
F1("bcadd", MAY_BE_STRING),
F1("bcsub", MAY_BE_STRING),
F1("bcmul", MAY_BE_STRING),

View File

@ -194,7 +194,7 @@ function gc_enable(): void {}
function gc_disable(): void {}
/**
* @return array<string, int|bool>
* @return array<string, int|float|bool>
* @refcount 1
*/
function gc_status(): array {}

View File

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 73e9ef76bde5ab44254185175d4d8dae2e797d12 */
* Stub hash: 12899073f3791c5da31aa555c0e612ee1faadf55 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO()