Skip to content

Commit f21c753

Browse files
committed
Fix inaccurate func infos
1 parent 48a34bc commit f21c753

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ static const func_info_t func_infos[] = {
312312
F1("stream_socket_pair", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_RESOURCE),
313313
#endif
314314
F1("stream_get_contents", MAY_BE_FALSE | MAY_BE_STRING),
315-
F1("fgetcsv", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING),
315+
F1("fgetcsv", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING),
316316
F1("get_meta_tags", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
317-
F1("stream_get_meta_data", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
317+
F1("stream_get_meta_data", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
318318
F1("stream_get_line", MAY_BE_FALSE | MAY_BE_STRING),
319319
F1("stream_get_wrappers", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
320320
F1("stream_get_transports", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
@@ -524,9 +524,9 @@ static const func_info_t func_infos[] = {
524524
F1("curl_file_create", MAY_BE_OBJECT),
525525

526526
/* ext/mbstring */
527-
F1("mb_convert_case", MAY_BE_FALSE | MAY_BE_STRING),
528-
F1("mb_strtoupper", MAY_BE_FALSE | MAY_BE_STRING),
529-
F1("mb_strtolower", MAY_BE_FALSE | MAY_BE_STRING),
527+
F1("mb_convert_case", MAY_BE_STRING),
528+
F1("mb_strtoupper", MAY_BE_STRING),
529+
F1("mb_strtolower", MAY_BE_STRING),
530530
F1("mb_language", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
531531
F1("mb_internal_encoding", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
532532
F1("mb_http_input", MAY_BE_FALSE | MAY_BE_STRING| MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
@@ -547,7 +547,7 @@ static const func_info_t func_infos[] = {
547547
F1("mb_list_encodings", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
548548
F1("mb_encoding_aliases", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
549549
F1("mb_convert_kana", MAY_BE_FALSE | MAY_BE_STRING),
550-
F1("mb_encode_mimeheader", MAY_BE_FALSE | MAY_BE_STRING),
550+
F1("mb_encode_mimeheader", MAY_BE_STRING),
551551
F1("mb_decode_mimeheader", MAY_BE_FALSE | MAY_BE_STRING),
552552
F1("mb_convert_variables", MAY_BE_FALSE | MAY_BE_STRING),
553553
F1("mb_encode_numericentity", MAY_BE_FALSE | MAY_BE_STRING),

0 commit comments

Comments
 (0)