From: Nikita Popov Date: Tue, 21 Jul 2020 08:04:11 +0000 (+0200) Subject: Fix iptcembed func info X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fda78e5965aff018adcd7c65f2215c0a8e48cd17;p=php Fix iptcembed func info This function can return true with $spool >= 2. --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index aee3cd9c6c..c99537dec8 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -133,7 +133,7 @@ static const func_info_t func_infos[] = { F1("md5", MAY_BE_STRING), F1("md5_file", MAY_BE_FALSE | MAY_BE_STRING), F1("iptcparse", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ARRAY), - F1("iptcembed", MAY_BE_FALSE | MAY_BE_STRING), + F1("iptcembed", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING), F1("getimagesize", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING), F1("getimagesizefromstring", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING), F1("image_type_to_mime_type", MAY_BE_STRING),