3v4l.org

run code in 200+ 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 7.0.0 - 7.2.0
string(65) "0e462097431906509019562988736854 0e830400451993494058024219903391" string(65) "0e087386482136013740957780965295 0e041022518165728065344349536299" string(81) "0e66507019969427134894567494305185566735 0e76658526655756207688271159624026011393" string(81) "0e89257456677279068558073954252716165668 0e36977786278517984959260394024281014729" bool(true) bool(false) bool(false)
Output for 5.3.20 - 5.6.28
string(65) "0e462097431906509019562988736854 0e830400451993494058024219903391" string(65) "0e087386482136013740957780965295 0e041022518165728065344349536299" string(81) "0e66507019969427134894567494305185566735 0e76658526655756207688271159624026011393" string(81) "0e89257456677279068558073954252716165668 0e36977786278517984959260394024281014729" bool(true) bool(true) bool(true)