3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string1 = 'abc'; $string2 = 'abc123'; echo sha1($string1) . ' ---- '; echo sha1($string2);
based on 787c8
Output for 4.3.0 - 7.2.0
a9993e364706816aba3e25717850c26c9cd0d89d ---- 6367c48dd193d56ea7b0baad25b19455e529f5ee