← All docs

implode() — internals

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

implode() — internals

Where it lives

Lowering notes

  • Lowers implode(glue, array) by selecting the string or integer array helper.

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function implode(string $separator, array $array = null): string

What the type checker enforces

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

Eval interpreter (magician)

Cross-references