← All docs

date_default_timezone_get() — internals

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

date_default_timezone_get() — internals

Where it lives

Lowering notes

  • Lowers date_default_timezone_get() through the shared runtime helper.
  • Takes no arguments; __rt_date_default_timezone_get returns the stored timezone
  • identifier (or the literal "UTC" when none was set) in the string-result registers.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_date_default_timezone_get
  • __rt_date_default_timezone_set

Signature summary

function date_default_timezone_get(): string

What the type checker enforces

  • Arity: takes no arguments.

Eval interpreter (magician)

Cross-references