3v4l.org

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

preferences:
33.76 ms | 402 KiB | 5 Q