From fda78e5965aff018adcd7c65f2215c0a8e48cd17 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 21 Jul 2020 10:04:11 +0200 Subject: [PATCH] Fix iptcembed func info This function can return true with $spool >= 2. --- ext/opcache/Optimizer/zend_func_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.50.1