3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ "cost" => 4, "salt" => "thisisalongsaltforhash" ]; $hash = password_hash("password", PASSWORD_BCRYPT, $options); var_dump(password_get_info($hash));

preferences:
28.85 ms | 402 KiB | 5 Q