Skip to content

Commit d25d943

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

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ static const func_info_t func_infos[] = {
297297
F1("file_get_contents", MAY_BE_FALSE | MAY_BE_STRING),
298298
F1("stream_context_create", MAY_BE_RESOURCE),
299299
F0("stream_context_set_params", MAY_BE_FALSE | MAY_BE_TRUE),
300-
F1("stream_context_get_params", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
301-
FN("stream_context_get_options", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
300+
F1("stream_context_get_params", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
301+
FN("stream_context_get_options", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
302302
FN("stream_context_get_default", MAY_BE_FALSE | MAY_BE_RESOURCE),
303303
FN("stream_context_set_default", MAY_BE_FALSE | MAY_BE_RESOURCE),
304304
FN("stream_filter_prepend", MAY_BE_FALSE | MAY_BE_RESOURCE),
@@ -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),
@@ -579,7 +579,7 @@ static const func_info_t func_infos[] = {
579579

580580
/* ext/xml */
581581
F1("xml_error_string", MAY_BE_NULL | MAY_BE_STRING),
582-
F1("xml_parser_get_option", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_STRING),
582+
F1("xml_parser_get_option", MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_STRING),
583583
F1("utf8_encode", MAY_BE_STRING),
584584
F1("utf8_decode", MAY_BE_STRING),
585585

0 commit comments

Comments
 (0)