3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $class = 'UserBundle\Selbstsucht'; $username = 'voadi'; $expires = '1450869565'; $password = '782153'; $key = "c5aec7f12e16a22c7a2203cb66866f2454c67d52"; $hash = hash('sha256', $class.$username.$expires.$password.$key); $hashHmac = hash_hmac('sha256', $class.$username.$expires.$password, $key); echo $hash; echo $hasHmac;
based on YoeJ8
Output for 5.3.20 - 7.2.0
7b7cfb8dfa290f0442a1cdd35ca4fa0be9beeded61a2db2c47e5858f0075b354 Notice: Undefined variable: hasHmac in /in/GXQsf on line 13