← All docs

hash_update()

Feeds data into an incremental hashing context. Provided by the compiler-injected hash prelude in compiled code.

hash_update()

function hash_update(HashContext $context, string $data): bool

Feeds data into an incremental hashing context. Provided by the compiler-injected hash prelude in compiled code.

Parameters:

  • $context (HashContext)
  • $data (string)

Returns: bool

Availability

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

Internals

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