3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p =password_hash('aaa','sh1'); var_dump(password_verify ('aaa', $p));
based on qY1i4
Output for 7.0.0 - 7.2.0
Warning: password_hash() expects parameter 2 to be integer, string given in /in/Hrkdd on line 2 bool(false)
Output for 5.5.24 - 5.6.28
Warning: password_hash() expects parameter 2 to be long, string given in /in/Hrkdd on line 2 bool(false)
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Hrkdd on line 2
Process exited with code 255.