diff --git a/Zend/Optimizer/zend_func_infos.h b/Zend/Optimizer/zend_func_infos.h index 9a3c2a2ac35fb..1a4b0f9c5a71f 100644 --- a/Zend/Optimizer/zend_func_infos.h +++ b/Zend/Optimizer/zend_func_infos.h @@ -571,7 +571,7 @@ static const func_info_t func_infos[] = { F1("str_rot13", MAY_BE_STRING), F1("str_shuffle", MAY_BE_STRING), F1("str_word_count", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_LONG), - F1("str_split", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING), + FN("str_split", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING), F1("strpbrk", MAY_BE_STRING|MAY_BE_FALSE), F1("utf8_encode", MAY_BE_STRING), F1("utf8_decode", MAY_BE_STRING), diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php index e114cb06ec01d..5a781cb971361 100755 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -1000,7 +1000,6 @@ function str_word_count(string $string, int $format = 0, ?string $characters = n /** * @return array - * @refcount 1 * @compile-time-eval */ function str_split(string $string, int $length = 1): array {} diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index a53784a4ca3f4..c5e5700002ccd 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: 9fe68f4baa560dedf96b551c051cfaf3e6532d15 */ + * Stub hash: 00c1b3312b1325e4dc0624c964f5bd2096245db2 */ 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)