3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $userId = null; $token = null; $commands = '[{cmd:"mobile_init", "id":0}]'; echo hash_hmac('sha256', $userId.$token.$commands, 'ToyBlasT2014!_');
Output for 5.1.2 - 7.1.0
1d8a6d4b1810a32921a6965f273a834419a076ceaea9e8d1195c6c65a758e911
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash_hmac() in /in/5Y2oe on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash_hmac() in /in/5Y2oe on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash_hmac() in /in/5Y2oe on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash_hmac() in /in/5Y2oe on line 7