mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add support for sensitive parameters in stubs
This commit is contained in:
parent
49951165f0
commit
debd38f851
27 changed files with 172 additions and 67 deletions
|
@ -1629,11 +1629,15 @@ function unpack(string $format, string $string, int $offset = 0): array|false {}
|
|||
*/
|
||||
function password_get_info(string $hash): array {}
|
||||
|
||||
/** @refcount 1 */
|
||||
/**
|
||||
* @refcount 1
|
||||
* @sensitive-param $password
|
||||
*/
|
||||
function password_hash(string $password, string|int|null $algo, array $options = []): string {}
|
||||
|
||||
function password_needs_rehash(string $hash, string|int|null $algo, array $options = []): bool {}
|
||||
|
||||
/** @sensitive-param $password */
|
||||
function password_verify(string $password, string $hash): bool {}
|
||||
|
||||
function password_algos(): array {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue