Skip to content

Commit bb41a1b

Browse files
committed
Fix str_pad rc info
This fixes at least part of bug #78811.
1 parent 716fdac commit bb41a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static const func_info_t func_infos[] = {
201201
FN("trim", MAY_BE_STRING),
202202
FN("ltrim", MAY_BE_STRING),
203203
F1("strip_tags", MAY_BE_STRING),
204-
F1("explode", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
204+
F1("explode", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
205205
FN("implode", MAY_BE_STRING),
206206
FN("join", MAY_BE_STRING),
207207
FN("setlocale", MAY_BE_FALSE | MAY_BE_STRING),
@@ -213,7 +213,7 @@ static const func_info_t func_infos[] = {
213213
F0("levenshtein", MAY_BE_LONG),
214214
F1("chr", MAY_BE_STRING),
215215
F1("str_getcsv", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING),
216-
F1("str_pad", MAY_BE_NULL | MAY_BE_STRING),
216+
FN("str_pad", MAY_BE_NULL | MAY_BE_STRING),
217217
F1("strchr", MAY_BE_FALSE | MAY_BE_STRING),
218218
F1("sprintf", MAY_BE_FALSE | MAY_BE_STRING),
219219
F0("printf", MAY_BE_FALSE | MAY_BE_LONG),

0 commit comments

Comments
 (0)