← All docs

spl_object_id() — internals

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

spl_object_id() — internals

Where it lives

Lowering notes

  • Lowers spl_object_id(object) by returning the loaded object pointer as an integer.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_itoa

Signature summary

function spl_object_id(object $object): int

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references