3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string1 = 'abc'; $string2 = 'abc123'; echo sha1($string1); echo sha1($string2);
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.0
a9993e364706816aba3e25717850c26c9cd0d89d6367c48dd193d56ea7b0baad25b19455e529f5ee