← All docs

usleep() — internals

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

usleep() — internals

Where it lives

Lowering notes

  • Lowers usleep(microseconds) through the target’s C library symbol.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_getenv

Signature summary

function usleep(int $microseconds): void

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references