"; if (isset($_GET['input'])) { echo $_GET['input']; } else { echo "somecrap"; } echo "-> sha1 = "; if (isset($_GET['input'])) { echo sha1($_GET['input']); } else { echo sha1("somecrap"); } echo ""; ?>