3v4l.org

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