← All docs

ip2long() — internals

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

ip2long() — internals

Where it lives

Lowering notes

  • Lowers ip2long(string) and boxes invalid-address results as PHP false.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_ip2long
  • __rt_sprintf

Signature summary

function ip2long(string $ip): mixed

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references