3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pass = '123456'; $hash = crypt($pass); var_dump(crypt($pass, $hash) == $hash);
Output for 5.6.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/Z7BVP on line 5 bool(true)
Output for 4.3.0 - 5.5.35
bool(true)