3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $concatString = "20161017T215257|580501e9f37ee|F3C0K54C|START_LOAN_DEMAND|123456|MS|5000000|0|104|CZK|||TV Samsung S25|15001|NESS|Navratil|Zdenek|604123456||zdenek.navratil@cofidis.cz|||||||||||http://www.myelectro.cz/callback.php"; $encod = mb_detect_encoding($concatString); $utfString = mb_convert_encoding($concatString,"UTF-8",$encod); $hashTag = sha1($utfString,true); echo $hashTag; echo "\r\n"; $base64Tag = base64_encode($hashTag); echo $base64Tag; echo "\r\n"; $forTriple = bin2hex(mb_convert_encoding($base64Tag,"UTF-8")); echo $forTriple; echo "\r\n";
based on d0vW0
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
}� ���%V �g�cu�< fRgHoAvB/4klEVYdCv5nqmN1uTw= 665267486f4176422f346b6c455659644376356e716d4e317554773d