]> granicus.if.org Git - php/commitdiff
Delete opcache flags for php 8.0's removed mbereg*() aliases
authorTyson Andre <tysonandre775@hotmail.com>
Sun, 9 Jun 2019 20:14:13 +0000 (16:14 -0400)
committerJoe Watkins <krakjoe@php.net>
Tue, 11 Jun 2019 07:07:42 +0000 (09:07 +0200)
See UPGRADING for Mbstring.
All of these are aliases of corresponding `mb_*`
functions that existed in php 7 but were removed in php 8.

Other functions such as gzgetss were already removed.

ext/opcache/Optimizer/zend_func_info.c

index ace1075f91863eb3e296f1d33c2596676b979732..fd1d7266e275f190e1d18212be16184a3def86ee 100644 (file)
@@ -992,21 +992,6 @@ static const func_info_t func_infos[] = {
        F0("mb_ereg_search_getpos",                 MAY_BE_LONG),
        F0("mb_ereg_search_setpos",                 MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
 
-       F0("mbregex_encoding",                      MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
-       F0("mbereg",                                MAY_BE_FALSE | MAY_BE_LONG),
-       F0("mberegi",                               MAY_BE_FALSE | MAY_BE_LONG),
-       F1("mbereg_replace",                        MAY_BE_FALSE | MAY_BE_STRING),
-       F1("mberegi_replace",                       MAY_BE_FALSE | MAY_BE_STRING),
-       F1("mbsplit",                               MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
-       F0("mbereg_match",                          MAY_BE_FALSE | MAY_BE_TRUE),
-       F0("mbereg_search",                         MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
-       F1("mbereg_search_pos",                     MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG),
-       F1("mbereg_search_regs",                    MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_STRING),
-       F0("mbereg_search_init",                    MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
-       F1("mbereg_search_getregs",                 MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_STRING),
-       F0("mbereg_search_getpos",                  MAY_BE_LONG),
-       F0("mbereg_search_setpos",                  MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
-
        /* ext/iconv */
        F1("iconv",                                 MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
        F1("iconv_get_encoding",                    MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),