Skip to content

Commit 1bd6153

Browse files
committed
Fix refcount of ini_set()
1 parent 1c81607 commit 1bd6153

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
@@ -358,7 +358,6 @@ function ini_get(string $option): string|false {}
358358
*/
359359
function ini_get_all(?string $extension = null, bool $details = true): array|false {}
360360

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

364363
/** @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: 516f34be3ee459966192b711b811a57f9f8c5ea4 */
2+
* Stub hash: dedad3f279890a0d703b4a4333c0f1fdaaaa2fca */
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)