diff options
| author | Xinchen Hui <laruence@gmail.com> | 2017-09-09 13:26:45 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@gmail.com> | 2017-09-09 13:26:45 +0800 |
| commit | c2ddc180bbca6fef3b84dcd9b4213440049337e0 (patch) | |
| tree | 929ee13927af3ed18fc30db3f1ccea9157e2fdfc /ext | |
| parent | 657695fe9777d0e91ee988afc8cb8a07120bdd2d (diff) | |
| download | php-git-c2ddc180bbca6fef3b84dcd9b4213440049337e0.tar.gz | |
Added fileinfo func infos
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/opcache/Optimizer/zend_func_info.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 655b02aa00..571622e28f 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; |
