3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(hash("md5","QNKCDZO")); var_dump(hash("md5","240610708")); var_dump(strcmp(hash("md5","QNKCDZO"),hash("md5","240610708"))); var_dump(hash("md5","QNKCDZO") == hash("md5","240610708")); var_dump(md5('240610708') === md5('QNKCDZO'));
based on F0RfN
Output for 5.1.2 - 7.2.0
string(32) "0e830400451993494058024219903391" string(32) "0e462097431906509019562988736854" int(4) bool(true) bool(false)
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/cjBET 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/cjBET 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/cjBET 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/cjBET on line 2