← All docs

__elephc_ptr_is_null() — internals

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

__elephc_ptr_is_null() — internals

Where it lives

Lowering notes

  • Lowers ptr_is_null(pointer) by comparing the raw pointer address to zero.

Runtime helpers

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

Signature summary

function __elephc_ptr_is_null(mixed $pointer): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

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.