3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(hash('sha512', 'Test'));
based on l4D7R
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
string(128) "c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a31"
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/QiS7P 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/QiS7P 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/QiS7P 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/QiS7P on line 2