3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hashed =password_hash(mypass); echo $hashed;
Output for 7.2.0
Warning: Use of undefined constant mypass - assumed 'mypass' (this will throw an Error in a future version of PHP) in /in/CZl64 on line 3 Warning: password_hash() expects at least 2 parameters, 1 given in /in/CZl64 on line 3
Output for 5.5.24 - 7.1.10
Notice: Use of undefined constant mypass - assumed 'mypass' in /in/CZl64 on line 3 Warning: password_hash() expects at least 2 parameters, 1 given in /in/CZl64 on line 3
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/CZl64 on line 3
Process exited with code 255.