]> granicus.if.org Git - php/commitdiff
Fix bcscale() function info
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Feb 2018 21:48:19 +0000 (22:48 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Feb 2018 22:22:43 +0000 (23:22 +0100)
Master only: This function now returns the old scale.

ext/opcache/Optimizer/zend_func_info.c

index 1bcfe9fe24510d3e488212722ad74023e9679f39..c9a6ff023c1baf029568d82348ef91dd4fd02237 100644 (file)
@@ -1508,7 +1508,7 @@ static const func_info_t func_infos[] = {
        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),
+       F0("bcscale",                                                           MAY_BE_NULL | MAY_BE_LONG),
 
        /* ext/exif */
        F1("exif_tagname",                                                      MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),