]> granicus.if.org Git - php/commitdiff
Fix iptcembed func info
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 21 Jul 2020 08:04:11 +0000 (10:04 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 21 Jul 2020 08:18:33 +0000 (10:18 +0200)
This function can return true with $spool >= 2.

ext/opcache/Optimizer/zend_func_info.c

index aee3cd9c6c2a6a72d5062c670727e019ea909b36..c99537dec82d5877aab7f3ebe2de9650a9b3b45c 100644 (file)
@@ -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),