3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(md5('240610708') === md5('QNKCDZO')); var_dump(md5('aabg7XSs') === md5('aabC9RqS')); var_dump(sha1('aaroZmOk') === sha1('aaK1STfY')); var_dump(sha1('aaO8zKZF') === sha1('aa3OFF9m')); var_dump('0010e2' == '1e3'); var_dump('0x1234Ab' == '1193131'); var_dump('0xABCdef' == ' 0xABCdef');
based on tT4l8
Output for hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
bool(false) bool(false) bool(false) bool(false) bool(true) bool(false) bool(false)
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2, 5.2.1 - 5.6.28
bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true)
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.2.0
bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false)