← All docs

tempnam() — internals

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

tempnam() — internals

Where it lives

Lowering notes

  • Lowers tempnam(directory, prefix) through the target-aware runtime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_glob
  • __rt_scandir
  • __rt_tempnam

Signature summary

function tempnam(string $directory, string $prefix): string

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references