← All docs

hash_copy() — internals

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

hash_copy() — internals

Where it lives

Lowering notes

  • Lowers hash_copy(context) through the incremental hash clone helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_crc32
  • __rt_hash_copy

Signature summary

function hash_copy(resource $context): mixed

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references