3v4l.org

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