3v4l.org

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