W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1)
hash_update_file — 從文件向活躍的散列運(yùn)算上下文中填充數(shù)據(jù)
hash_update_file(HashContext $context, string $filename, ?resource $stream_context = null): bool
context
由 hash_init() 函數(shù)返回的散列運(yùn)算上下文。
filename
要進(jìn)行散列運(yùn)算的文件路徑,支持 fopen 封裝器。
stream_context
由 stream_context_create() 函數(shù)返回的流上下文。
成功時(shí)返回 true, 或者在失敗時(shí)返回 false。
版本 | 說明 |
---|---|
8.0.0 | stream_context 現(xiàn)在可以為 null。 |
7.2.0 | 接收參數(shù)從資源類型修改為 HashContext 對(duì)象類型。 |
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: