3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pk = hash_hmac( 'sha256', 'PUThttp://localhost:8080/moblee/ralf-api/api/v1_1/event/20140411app_mo165/info[{"id":"8","sort":"1","language":"pt","active":0},{"id":"8","sort":"1","language":"en","active":0},{"id":"8","sort":"1","language":"es","active":0},{"id":"9","sort":"2","language":"pt","active":0},{"id":"9","sort":"2","language":"en","active":0},{"id":"9","sort":"2","language":"es","active":0},{"id":"11","sort":"3","language":"pt","active":0},{"id":"11","sort":"3","language":"en","active":0},{"id":"11","sort":"3","language":"es","active":0},{"id":"7","sort":"4","language":"pt","active":0},{"id":"7","sort":"4","language":"en","active":0},{"id":"7","sort":"4","language":"es","active":0},{"id":"10","sort":"5","language":"pt","active":0},{"id":"10","sort":"5","language":"en","active":0},{"id":"10","sort":"5","language":"es","active":0},{"id":"12","sort":"6","language":"pt","active":0},{"id":"12","sort":"6","language":"en","active":0},{"id":"12","sort":"6","language":"es","active":0},{"id":"13","sort":"7","language":"pt","active":0},{"id":"13","sort":"7","language":"en","active":0},{"id":"13","sort":"7","language":"es","active":0},{"id":"14","sort":"8","language":"pt","active":0},{"id":"14","sort":"8","language":"en","active":0},{"id":"14","sort":"8","language":"es","active":0},{"id":"15","sort":"9","language":"pt","active":0},{"id":"15","sort":"9","language":"en","active":0},{"id":"15","sort":"9","language":"es","active":0},{"id":"16","sort":"10","language":"pt","active":1},{"id":"16","sort":"10","language":"en","active":1},{"id":"16","sort":"10","language":"es","active":1}]', hash( 'sha256', 'moblee' . hash( 'sha256', '20140411app_mo165mob@r4lf#lee' ) ) ); echo base64_encode( 'moblee:' . $pk );
Output for 5.1.2 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7, 7.2.29 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
bW9ibGVlOmY1YmFhNTA1N2ZlMjJmNmZkOWE3ZTcwMjdiOTBmMGQ0YWVjNDRkNmU0MjJjNTg5OGI0OGNkOTBlN2M0NWU0Yjc=
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.1
Fatal error: Call to undefined function hash_hmac() in /in/Kgccm 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/Kgccm on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: hash_hmac() in /in/Kgccm 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/Kgccm on line 3

preferences:
214.23 ms | 401 KiB | 310 Q