com php-src: Added fileinfo func infos: ext/opcache/Optimizer/z end_func_info.c
| From: | Xinchen Hui | Date: | Sat, 09 Sep 2017 05:26:45 +0000 |
| Subject: | com php-src: Added fileinfo func infos: ext/opcache/Optimizer/z end_func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99326@lists.php.net to get a copy of this message | ||
Commit: c2ddc180bbca6fef3b84dcd9b4213440049337e0
Author: Xinchen Hui <laruence@gmail.com> Sat, 9 Sep 2017 13:26:45 +0800
Parents: 657695fe9777d0e91ee988afc8cb8a07120bdd2d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c2ddc180bbca6fef3b84dcd9b4213440049337e0
Log:
Added fileinfo func infos
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 655b02a..571622e 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -1552,6 +1552,14 @@ static const func_info_t func_infos[] = {
F0("ctype_upper", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
F0("ctype_xdigit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
+ /* ext/fileinfo */
+ F1("finfo_open", MAY_BE_FALSE | MAY_BE_RESOURCE),
+ F0("finfo_close", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("finfo_set_flags", MAY_BE_FALSE | MAY_BE_TRUE),
+ F1("finfo_file", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+ F1("finfo_buffer", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+ F1("mime_content_type", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+
};
static HashTable func_info;