3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo hash( 'sha256', '20140411app_mo165mob@r4lf#l33' ); echo "\n"; $authKey = hash( 'sha256', 'moblee' . '4494c326c7c7e93fdd25719d48b341907f60aa9546a9990c78566f84fe23530f' ); echo $authKey; echo "\n"; echo $hash = hash_hmac( 'sha256', 'POSThttp://localhost:8080/moblee/ralf-api/api/v1_1/event/20140411app_mo165/user{ "user":"teste", "role":"editor", "password":"teste" }', $authKey ); echo "\n"; echo base64_encode( 'user:'.$hash ); echo "\n"; echo hash( 'sha256', '20140411app_mo165senha' );
based on vMEMq
Output for 5.1.2 - 7.2.0
4494c326c7c7e93fdd25719d48b341907f60aa9546a9990c78566f84fe23530f ad00328691fdc68d09cf2257372cf65b38164abc9c0c69ae4b631d0523eea7fb 7d82cf6b03d03439ff2bdccae33e1585b66dfda8e185452c2a15aac79f536bb4 dXNlcjo3ZDgyY2Y2YjAzZDAzNDM5ZmYyYmRjY2FlMzNlMTU4NWI2NmRmZGE4ZTE4NTQ1MmMyYTE1YWFjNzlmNTM2YmI0 6df5af79fe35cdf0aee582acd22cd4b173618274cf1c4231d9787ec917d01c07
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/epds3 on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/epds3 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/epds3 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/epds3 on line 2