← All docs

__elephc_strtotime_raw() — internals

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

__elephc_strtotime_raw() — internals

Where it lives

Lowering notes

  • Internal helper used by the strtotime() builtin.
  • Provides a raw timestamp parsing path for the runtime strtotime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_strtotime

Signature summary

function __elephc_strtotime_raw(string $datetime, int $baseTimestamp = null): int

What the type checker enforces

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

Eval interpreter (magician)

Not callable from eval’d code — the magician interpreter has no entry for this builtin.

Cross-references

  • No user-facing reference — this is a compiler internal helper.