3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(base64_encode(sha1('test', 1)));
Output for 5.3.19 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.0
string(28) "qUqP5cyxm6YcTAhz05Hph5gvu9M="