3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo hash('sha512', 'test');
Output for 5.1.2 - 7.1.0
ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/BN4fq on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/BN4fq on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/BN4fq on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/BN4fq on line 3