3v4l.org

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