← All docs

php_uname() — internals

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

php_uname() — internals

Where it lives

Lowering notes

  • Lowers php_uname(mode?) through the target-aware uname runtime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_php_uname

Signature summary

function php_uname(string $mode = 'a'): string

What the type checker enforces

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

Eval interpreter (magician)

Cross-references