- Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
- Warning: password_hash(): Invalid bcrypt cost parameter specified: 2 in /in/1eXqV on line 3 NULL
<?php
var_dump(password_hash("jeppe", PASSWORD_BCRYPT, ["salt" => "lalala", "cost" => 2]));