com php-src: Add bcmath func infos: ext/opcache/Optimizer/zend _func_info.c
| From: | Xinchen Hui | Date: | Fri, 08 Sep 2017 04:26:15 +0000 |
| Subject: | com php-src: Add bcmath func infos: ext/opcache/Optimizer/zend _func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99320@lists.php.net to get a copy of this message | ||
Commit: 918c1fe3adf4115fad0428d02177a7efcdca4a5b
Author: Xinchen Hui <laruence@gmail.com> Fri, 8 Sep 2017 12:26:15 +0800
Parents: 3713a36337cf34034347420e1665d539f6edccca
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=918c1fe3adf4115fad0428d02177a7efcdca4a5b
Log:
Add bcmath 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 b42e4c5..8767e2c 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -1495,6 +1495,18 @@ static const func_info_t func_infos[] = {
F1("pg_delete", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
F1("pg_select", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
+ /* ext/bcmath */
+ F1("bcadd", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcsub", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcmul", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcdiv", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcmod", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcpowmod", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcpow", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bcsqrt", MAY_BE_NULL | MAY_BE_STRING),
+ F0("bccomp", MAY_BE_NULL | MAY_BE_LONG),
+ F0("bcscale", MAY_BE_NULL | MAY_BE_TRUE),
+
};
static HashTable func_info;