← All docs

is_object() — internals

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

is_object() — internals

Where it lives

Lowering notes

  • Lowers is_object(): true for statically-known objects, or a boxed Mixed/Union value whose
  • runtime tag is an object (6).

Runtime helpers

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

Signature summary

function is_object(mixed $value): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references