3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?PHP $s1 = '100.100.100.0'; $s2 = '100.100'.'.100.0'; //require $1 != $2 echo md5($s1); echo '||||'; echo hash('md5',$s2); //require 1 === 2 echo hash('sha512',$s1,true); echo hash('sha512',$s2,true); ?>
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
3e46327af937cfa2557f85a9f9eb9c6d||||3e46327af937cfa2557f85a9f9eb9c6d��%���0��ݾdI���\��ڣ95.s��oL����d��,�,:kUާ��� mg�d��%���0��ݾdI���\��ڣ95.s��oL����d��,�,:kUާ��� mg�d
Output for 5.0.0 - 5.1.1
3e46327af937cfa2557f85a9f9eb9c6d||||<br /> <b>Fatal error</b>: Call to undefined function hash() in <b>/in/ltHsf</b> on line <b>8</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
3e46327af937cfa2557f85a9f9eb9c6d||||<br /> <b>Fatal error</b>: Call to undefined function: hash() in <b>/in/ltHsf</b> on line <b>8</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
3e46327af937cfa2557f85a9f9eb9c6d||||<br /> <b>Fatal error</b>: Call to undefined function: hash() in <b>/in/ltHsf</b> on line <b>8</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
3e46327af937cfa2557f85a9f9eb9c6d||||<br /> <b>Fatal error</b>: Call to undefined function: hash() in <b>/in/ltHsf</b> on line <b>8</b><br />