password_algos

PHP 7 >= 7.4.0, PHP 8
password_algos - Get available password hashing algorithm IDs

Example #1 Basic password usage

Result: Array ( [0] => 2y [1] => argon2i [2] => argon2id )
PHP Version:


Example #2 of password_algos

PHP Version:


Function password_algos:

Password Hashing Functions

Most used PHP functions