3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hashed_password = crypt('superadmin', '$r!lanka'); // let the salt be automatically generated echo $hashed_password;exit; if (hash_equals($hashed_password, crypt($user_input, $hashed_password))) { echo "Password verified!"; }
Output for 7.0.0 - 7.2.0
Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in /in/pZ9s6 on line 3 $rS4BoQVAo4KA
Output for 5.3.19 - 5.6.28
$rS4BoQVAo4KA