3v4l.org

run code in 200+ 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(sha1('aaO8zKZF') == sha1('aa3OFF9m'));
based on vNOsq
Output for 7.0.0 - 7.2.0
bool(false) string(6) "1234ab" string(7) "1193131" string(8) "0x1234Ab" bool(true) bool(true)
Output for 4.3.0 - 5.6.28
bool(true) string(6) "1234ab" string(7) "1193131" string(8) "0x1234Ab" bool(true) bool(true)