hash_update_file

Supported Versions: PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1
Pump data into an active hashing context from a file
<?php hash_update_file(HashContext $context, string $filename, ?resource $stream_context = null): bool