PHP - Manual: hash_update_file
2025-02-27
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1)
hash_update_file — 从文件向活跃的散列运算上下文中填充数据
context
由 hash_init() 函数返回的散列运算上下文。
filename
要进行散列运算的文件位置的 URL;支持 fopen() 封装器。
stream_context
由 stream_context_create() 函数返回的流上下文。
官方地址:https://www.php.net/manual/en/function.hash-update-file.php