3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'sup3r53cr3t!'; $options = [ 'salt' => mcrypt_create_iv(22, MCRYPT_DEV_URANDOM) ]; $hash = password_hash($password, PASSWORD_DEFAULT, $options);

preferences:
33.88 ms | 402 KiB | 5 Q