3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hkey = "1234"; $shash = sha1($hkey.$date->format('Y-m-d H:i')); echo json_encode(array($shash));

preferences:
44.87 ms | 402 KiB | 5 Q