3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(hash_hmac('sha512', 'POST|/service/socket_server|{"action":"get_blacklist","timestamp":1407977385}|[]', ''));
based on C1HlK
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(128) "39e2744709b071cb83a96da64f5c5524d49d7cd01ec004be050d69c673c9485fb8e9805ebc5188031b5960ffc65936f62ba5cd8921fdd6ded3f64db7b9d18319"
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash_hmac() in /in/DPGlr 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/DPGlr 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/DPGlr 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/DPGlr on line 3