(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1)
hash_update_file — 从文件向活跃的哈希运算上下文中填充数据
$hcontext
   , string $filename
   [, resource $scontext = NULL
  ] )
hcontext由 hash_init() 函数返回的哈希运算上下文。
filename要进行哈希运算的文件路径,支持 fopen 封装器。
scontext由 stream_context_create() 函数返回的流上下文。
   成功时返回 TRUE, 或者在失败时返回 FALSE。