3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash("jeppe", PASSWORD_BCRYPT, ["salt" => "lalala", "cost" => "04"]));
based on 1eXqV
Output for 7.0.0 - 7.3.0beta1
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/kvjrQ on line 3 Warning: password_hash(): Provided salt is too short: 6 expecting 22 in /in/kvjrQ on line 3 NULL
Output for 5.5.0 - 5.6.28
Warning: password_hash(): Provided salt is too short: 6 expecting 22 in /in/kvjrQ on line 3 NULL