]> granicus.if.org Git - php/commitdiff
Add new missing functions from ext/hash
authorTyson Andre <tysonandre775@hotmail.com>
Tue, 3 Sep 2019 02:14:11 +0000 (22:14 -0400)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 3 Sep 2019 07:53:41 +0000 (09:53 +0200)
ext/opcache/Optimizer/zend_func_info.c

index 0582b54f675e4a1d882670d9eee53a992c849a21..a06ac05b6b7114800207233e75eacac996b801b8 100644 (file)
@@ -1207,9 +1207,12 @@ static const func_info_t func_infos[] = {
 
        /* ext/hash */
        F1("hash",                                  MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+       F0("hash_equals",                           MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
        F1("hash_file",                             MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
        F1("hash_hmac",                             MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+       F1("hash_hmac_algos",                       MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
        F1("hash_hmac_file",                        MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+       F1("hash_hkdf",                             MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
        F1("hash_init",                             MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_OBJECT),
        F0("hash_update",                           MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
        F0("hash_update_stream",                    MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG),