3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(base64_encode(hash_hmac('sha1', 'foo', 'bar', true)));
based on O4lNS
Output for 5.5.0 - 7.3.0rc4
string(28) "hdFVxV7ShqMAvRzxJN4I2H6RTzo="