3v4l.org

run code in 300+ PHP versions simultaneously
<?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!"; }

preferences:
54.33 ms | 402 KiB | 5 Q