3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function hexbin($temp) { $data=""; $len = strlen($temp); for ($i=0;$i<$len;$i+=2) $data.=chr(hexdec(substr($temp,$i,2))); return $data; } var_dump( base64_encode(hexbin(sha1('4ly5ccc64ln8n581.0.1I0110DQXmy_first_test__559status'))) );
Output for 4.3.0 - 7.2.0
string(28) "bOGL3/Wavb+vnL9HB5duyLAGMLY="