3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pass = 'oker'; echo md5($pass)."\n"; echo sha1($pass)."\n"; echo password_hash($pass, PASSWORD_BCRYPT, array('salt'=>'111'))."\n";
Output for 7.0.0 - 7.1.0
64e2feb3667d45737069736735f168a7 136953b6d8fc0072d306f8caa7098fc4d2c93e20 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R0iUN on line 6 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/R0iUN on line 6
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0
64e2feb3667d45737069736735f168a7 136953b6d8fc0072d306f8caa7098fc4d2c93e20 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/R0iUN on line 6
Output for 5.0.0 - 5.4.45
64e2feb3667d45737069736735f168a7 136953b6d8fc0072d306f8caa7098fc4d2c93e20 Fatal error: Call to undefined function password_hash() in /in/R0iUN on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
64e2feb3667d45737069736735f168a7 136953b6d8fc0072d306f8caa7098fc4d2c93e20 Fatal error: Call to undefined function: password_hash() in /in/R0iUN on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
64e2feb3667d45737069736735f168a7 136953b6d8fc0072d306f8caa7098fc4d2c93e20 Fatal error: Call to undefined function: password_hash() in /in/R0iUN on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
64e2feb3667d45737069736735f168a7 136953b6d8fc0072d306f8caa7098fc4d2c93e20 Fatal error: Call to undefined function: password_hash() in /in/R0iUN on line 6