Skip to content

Commit 534df87

Browse files
committed
Implement password mechanism registry
RFC: https://wiki.php.net/rfc/password_registry
1 parent f4faa69 commit 534df87

10 files changed

+633
-437
lines changed

ext/standard/basic_functions.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,8 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_password_verify, 0, 0, 2)
18601860
ZEND_ARG_INFO(0, password)
18611861
ZEND_ARG_INFO(0, hash)
18621862
ZEND_END_ARG_INFO()
1863+
ZEND_BEGIN_ARG_INFO(arginfo_password_algos, 0)
1864+
ZEND_END_ARG_INFO();
18631865
/* }}} */
18641866
/* {{{ proc_open.c */
18651867
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
@@ -2926,6 +2928,7 @@ static const zend_function_entry basic_functions[] = { /* {{{ */
29262928
PHP_FE(password_get_info, arginfo_password_get_info)
29272929
PHP_FE(password_needs_rehash, arginfo_password_needs_rehash)
29282930
PHP_FE(password_verify, arginfo_password_verify)
2931+
PHP_FE(password_algos, arginfo_password_algos)
29292932
PHP_FE(convert_uuencode, arginfo_convert_uuencode)
29302933
PHP_FE(convert_uudecode, arginfo_convert_uudecode)
29312934

0 commit comments

Comments
 (0)