← All docs

hash_final() — internals

Compiler internals for hash_final(): lowering path, type checks, and runtime helpers.

hash_final() — internals

Where it lives

Lowering notes

  • Lowers hash_final(context, binary?) through the incremental hash finalizer.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_hash_final

Signature summary

function hash_final(resource $context, bool $binary = false): string

What the type checker enforces

  • Arity: takes 1–2 arguments (1 optional).

Eval interpreter (magician)

Cross-references