← All docs

class_get_attributes() — internals

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

class_get_attributes() — internals

Where it lives

Lowering notes

  • Lowers class_get_attributes(class) into an array of ReflectionAttribute objects.

Runtime helpers

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

Signature summary

function class_get_attributes(string $class_name): array

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references