3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo hash_hmac('sha512', 'The quick brown fox jumped over the lazy dog.', 'secret');
Output for 5.1.2 - 7.1.0
6e3842ef12d31569c33467d5d214881f6c9bc596332fac121be7e2ad36735504901702057c45d1385d4c1077002b81aa010ba9885f6867c873e682b30f81bd51
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash_hmac() in /in/2SUfI on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash_hmac() in /in/2SUfI on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash_hmac() in /in/2SUfI on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash_hmac() in /in/2SUfI on line 3