From: Xinchen Hui Date: Fri, 8 Sep 2017 04:26:15 +0000 (+0800) Subject: Add bcmath func infos X-Git-Tag: php-7.3.0alpha1~1481 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=918c1fe3adf4115fad0428d02177a7efcdca4a5b;p=php Add bcmath func infos --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index b42e4c51ee..8767e2c333 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;