3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hashPasswordMetro($password) { $utfString = mb_convert_encoding($password,"UTF-16LE"); $hashTag = sha1($utfString); return "0x".$hashTag; } echo hashPasswordMetro('P!x3l2214');

preferences:
57.25 ms | 402 KiB | 5 Q