3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?PHP $s1 = 'abcd'; $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
e2fc714c4727ee9395f324cd2e7f331f||||3e46327af937cfa2557f85a9f9eb9c6d�/ `�n�)z�=�SUɲK v�6�i�j};�:����33h�Kd�m��>HS��kqk��o��%���0��ݾdI���\��ڣ95.s��oL����d��,�,:kUާ��� mg�d
Output for 5.0.0 - 5.1.1
e2fc714c4727ee9395f324cd2e7f331f|||| Fatal error: Call to undefined function hash() in /in/9ZPK0 on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
e2fc714c4727ee9395f324cd2e7f331f|||| Fatal error: Call to undefined function: hash() in /in/9ZPK0 on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
e2fc714c4727ee9395f324cd2e7f331f|||| Fatal error: Call to undefined function: hash() in /in/9ZPK0 on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
e2fc714c4727ee9395f324cd2e7f331f|||| Fatal error: Call to undefined function: hash() in /in/9ZPK0 on line 8