3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump("0x1234Ab" == "1193131"); var_dump(dechex(1193131)); var_dump('1193131'); var_dump('0x1234Ab'); var_dump(md5('aabg7XSs') == md5('aabC9RqS')); var_dump(md5('aabg7XSs')); var_dump(md5('aabC9RqS')); var_dump(sha1('aaO8zKZF') == sha1('aa3OFF9m'));
based on FMiHj
Output for 7.0.0 - 7.1.0
bool(false) string(6) "1234ab" string(7) "1193131" string(8) "0x1234Ab" bool(true) string(32) "0e087386482136013740957780965295" string(32) "0e041022518165728065344349536299" bool(true)
Output for 4.3.0 - 5.6.28
bool(true) string(6) "1234ab" string(7) "1193131" string(8) "0x1234Ab" bool(true) string(32) "0e087386482136013740957780965295" string(32) "0e041022518165728065344349536299" bool(true)