3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = 'abc'; $string2 = 'abc123'; echo sha1($string1) . ' ---- '; echo sha1($string2);

preferences:
34.32 ms | 402 KiB | 5 Q