3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo hash ( "sha256" , "toto" ) .PHP_EOL; echo hash ( "sha512" , "toto" ) .PHP_EOL; echo hash ( "sha512" , "toto" ) .PHP_EOL;
based on MHP31
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
31f7a65e315586ac198bd798b6629ce4903d0899476d5741a9f32e2e521b6a66 10e06b990d44de0091a2113fd95c92fc905166af147aa7632639c41aa7f26b1620c47443813c605b924c05591c161ecc35944fc69c4433a49d10fc6b04a33611 10e06b990d44de0091a2113fd95c92fc905166af147aa7632639c41aa7f26b1620c47443813c605b924c05591c161ecc35944fc69c4433a49d10fc6b04a33611
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/NW6hB 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/NW6hB 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/NW6hB 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/NW6hB on line 2