3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password="oliander"; $strSalt = substr(md5(uniqid(mt_rand(), true)), 0, 23); $strPassword = sha1($strSalt . $pw); echo $strPassword;

preferences:
37.09 ms | 402 KiB | 5 Q