3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo hash( 'sha256', '20140411app_mo165mob@r4lf#l33' ); echo "\n"; $authKey = hash( 'sha256', 'moblee' . '4494c326c7c7e93fdd25719d48b341907f60aa9546a9990c78566f84fe23530f' ); echo $authKey; echo "\n"; echo $hash = hash_hmac( 'sha256', 'GEThttp://localhost:8080/moblee/ralf-api/api/v1_1/event/20140411app_mo165/company?active=1&extended=true', $authKey ); echo "\n"; echo base64_encode( 'user:'.$hash ); echo "\n"; echo hash( 'sha256', '20140411app_mo165senha' );
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.10, 7.2.0 - 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.18, 8.3.0 - 8.3.6
4494c326c7c7e93fdd25719d48b341907f60aa9546a9990c78566f84fe23530f ad00328691fdc68d09cf2257372cf65b38164abc9c0c69ae4b631d0523eea7fb b8624c20387746b02fb783b5a341cd62b96ba1b7b159ed865e9927ea591888b9 dXNlcjpiODYyNGMyMDM4Nzc0NmIwMmZiNzgzYjVhMzQxY2Q2MmI5NmJhMWI3YjE1OWVkODY1ZTk5MjdlYTU5MTg4OGI5 6df5af79fe35cdf0aee582acd22cd4b173618274cf1c4231d9787ec917d01c07
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/vMEMq 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/vMEMq on line 2
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() in /in/vMEMq 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/vMEMq on line 2

preferences:
247.65 ms | 401 KiB | 310 Q