← All docs

inet_pton() — internals

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

inet_pton() — internals

Where it lives

Lowering notes

  • Lowers inet_ntop() and inet_pton() and boxes invalid-address results as PHP false.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_sprintf

Signature summary

function inet_pton(string $ip): mixed

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references