← All docs

hash_hmac() — internals

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

hash_hmac() — internals

Where it lives

Lowering notes

  • Lowers hash_hmac(algo, data, key, binary?) through the shared HMAC runtime dispatcher.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_hash_equals
  • __rt_hash_hmac

Signature summary

function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string

What the type checker enforces

  • Arity: takes 3–4 arguments (1 optional).

Eval interpreter (magician)

Cross-references