]> granicus.if.org Git - php/commitdiff
Add bcmath func infos
authorXinchen Hui <laruence@gmail.com>
Fri, 8 Sep 2017 04:26:15 +0000 (12:26 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 8 Sep 2017 04:26:15 +0000 (12:26 +0800)
ext/opcache/Optimizer/zend_func_info.c

index b42e4c51eefa817be2b488d4750b9bc7a0693955..8767e2c333a8a4eadb955e45dcf14a0bb593324e 100644 (file)
@@ -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;