3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(sha1('aaroZmOk')); var_dump(sha1('aaK1STfY')); var_dump(sha1('aaroZmOk') == sha1('aaK1STfY')); var_dump(hash_equals(sha1('aaroZmOk'),sha1('aaK1STfY')));
based on kirWr
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
string(40) "0e66507019969427134894567494305185566735" string(40) "0e76658526655756207688271159624026011393" bool(true) bool(false)