Skip to content

Commit 9a79753

Browse files
committed
Fix refcount of ini_set()
1 parent 88b0b6b commit 9a79753

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Zend/Optimizer/zend_func_infos.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ static const func_info_t func_infos[] = {
114114
F1("php_strip_whitespace", MAY_BE_STRING),
115115
F1("highlight_string", MAY_BE_STRING|MAY_BE_BOOL),
116116
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),
117-
F1("ini_set", MAY_BE_STRING|MAY_BE_FALSE),
118117
F1("set_include_path", MAY_BE_STRING|MAY_BE_FALSE),
119118
F1("get_include_path", MAY_BE_STRING|MAY_BE_FALSE),
120119
F1("print_r", MAY_BE_STRING|MAY_BE_BOOL),

ext/standard/basic_functions.stub.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ function ini_get(string $option): string|false {}
355355
*/
356356
function ini_get_all(?string $extension = null, bool $details = true): array|false {}
357357

358-
/** @refcount 1 */
359358
function ini_set(string $option, string|int|float|bool|null $value): string|false {}
360359

361360
/** @alias ini_set */

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: e6dd0065cfdedb02bb580ff54850fa69e4e4b7b0 */
2+
* Stub hash: 37a7b9bdd688cd79929ce53c106e8f17dd87e080 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
55
ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)

0 commit comments

Comments
 (0)