3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo hash ( "sha512" , "toto" ) .PHP_EOL; echo hash ( "sha512" , "toto" ) .PHP_EOL; echo hash ( "sha512" , "toto" ) .PHP_EOL;
based on DtiZP
Output for 5.1.2 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
10e06b990d44de0091a2113fd95c92fc905166af147aa7632639c41aa7f26b1620c47443813c605b924c05591c161ecc35944fc69c4433a49d10fc6b04a33611 10e06b990d44de0091a2113fd95c92fc905166af147aa7632639c41aa7f26b1620c47443813c605b924c05591c161ecc35944fc69c4433a49d10fc6b04a33611 10e06b990d44de0091a2113fd95c92fc905166af147aa7632639c41aa7f26b1620c47443813c605b924c05591c161ecc35944fc69c4433a49d10fc6b04a33611
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/MHP31 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/MHP31 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/MHP31 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/MHP31 on line 2