com php-src: Fix iptcembed func info: ext/opcache/Optimizer/zen d_func_info.c
| From: | Nikita Popov | Date: | Tue, 21 Jul 2020 08:18:33 +0000 |
| Subject: | com php-src: Fix iptcembed func info: ext/opcache/Optimizer/zen d_func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112265@lists.php.net to get a copy of this message | ||
Commit: fda78e5965aff018adcd7c65f2215c0a8e48cd17
Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 21 Jul 2020 10:04:11 +0200
Parents: 2160f5ce599e335b404f93233971329b6bc510f0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fda78e5965aff018adcd7c65f2215c0a8e48cd17
Log:
Fix iptcembed func info
This function can return true with $spool >= 2.
Changed paths:
M ext/opcache/Optimizer/zend_func_info.c
Diff:
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),