← All docs

md5() — internals

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

md5() — internals

Where it lives

Lowering notes

  • Lowers md5(data, binary?) through the shared crypto-backed runtime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_hash
  • __rt_md5
  • __rt_sha1

Signature summary

function md5(string $string, bool $binary = false): string

What the type checker enforces

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

Eval interpreter (magician)

Cross-references