hash_final()
function hash_final(resource $context, bool $binary = false): string
Finalizes an incremental hash and returns the digest string.
Parameters:
$context(resource)$binary(bool), defaultfalse, optional
Returns: string
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how hash_final is implemented in the compiler, see the internals page.