Skip to content

Commit fda78e5

Browse files
committed
Fix iptcembed func info
This function can return true with $spool >= 2.
1 parent 2160f5c commit fda78e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static const func_info_t func_infos[] = {
133133
F1("md5", MAY_BE_STRING),
134134
F1("md5_file", MAY_BE_FALSE | MAY_BE_STRING),
135135
F1("iptcparse", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ARRAY),
136-
F1("iptcembed", MAY_BE_FALSE | MAY_BE_STRING),
136+
F1("iptcembed", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
137137
F1("getimagesize", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING),
138138
F1("getimagesizefromstring", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING),
139139
F1("image_type_to_mime_type", MAY_BE_STRING),

0 commit comments

Comments
 (0)