3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strcmp(md5('240610708'), md5('QNKCDZO')) == 0); var_dump(strcmp(md5('aabg7XSs'), md5('aabC9RqS')) == 0); var_dump(strcmp(sha1('aaroZmOk'), sha1('aaK1STfY')) == 0); var_dump(strcmp(sha1('aaO8zKZF'), sha1('aa3OFF9m')) == 0); var_dump(strcmp('0010e2', '1e3') == 0); var_dump(strcmp('0x1234Ab', '1193131') == 0); var_dump(strcmp('0xABCdef', ' 0xABCdef') == 0);
based on 1sQmG
Output for 4.3.0 - 7.2.0
bool(false) bool(false) bool(false) bool(false) bool(false) bool(false) bool(false)