3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?PHP $s1 = 'abcd'; $s2 = 'abc'; echo md5($s1); echo hash('md5',$s2); ?>
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
e2fc714c4727ee9395f324cd2e7f331f900150983cd24fb0d6963f7d28e17f72
Output for 5.0.0 - 5.1.1
e2fc714c4727ee9395f324cd2e7f331f Fatal error: Call to undefined function hash() in /in/YUb9P on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
e2fc714c4727ee9395f324cd2e7f331f Fatal error: Call to undefined function: hash() in /in/YUb9P on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
e2fc714c4727ee9395f324cd2e7f331f Fatal error: Call to undefined function: hash() in /in/YUb9P on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
e2fc714c4727ee9395f324cd2e7f331f Fatal error: Call to undefined function: hash() in /in/YUb9P on line 6