← All docs

hash_copy()

Copies the state of an incremental hashing context.

hash_copy()

function hash_copy(resource $context): mixed

Copies the state of an incremental hashing context.

Parameters:

  • $context (resource)

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how hash_copy is implemented in the compiler, see the internals page.