From 12bd7e17c5c1be5f5255c3d7b637002578ca4f5b Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Mon, 30 Dec 2024 12:51:02 +0100 Subject: [PATCH] Remove incorrect RC1 annotation for get_include_path() This annotation is wrong since GH-17294. --- Zend/Optimizer/zend_func_infos.h | 1 - ext/standard/basic_functions.stub.php | 1 - ext/standard/basic_functions_arginfo.h | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Zend/Optimizer/zend_func_infos.h b/Zend/Optimizer/zend_func_infos.h index 8751ff30c6950..2c3c4a4bdc4d1 100644 --- a/Zend/Optimizer/zend_func_infos.h +++ b/Zend/Optimizer/zend_func_infos.h @@ -434,7 +434,6 @@ static const func_info_t func_infos[] = { F1("highlight_string", MAY_BE_STRING|MAY_BE_TRUE), F1("ini_get_all", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_NULL|MAY_BE_FALSE), F1("set_include_path", MAY_BE_STRING|MAY_BE_FALSE), - F1("get_include_path", MAY_BE_STRING|MAY_BE_FALSE), F1("print_r", MAY_BE_STRING|MAY_BE_TRUE), #if defined(HAVE_GETSERVBYPORT) F1("getservbyport", MAY_BE_STRING|MAY_BE_FALSE), diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php index 19ece98e05216..1934610dc0fed 100644 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -2026,7 +2026,6 @@ function ini_parse_quantity(string $shorthand): int {} /** @refcount 1 */ function set_include_path(string $include_path): string|false {} -/** @refcount 1 */ function get_include_path(): string|false {} /** @refcount 1 */ diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index b84e9f8dd7087..61feae1d88c68 100644 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: e277d3a5699db6aeedb08642720be841dc37d683 */ + * Stub hash: b0a0ccc94c6db2831f7f0b8e67562cd6a734fcdf */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)