← All docs

inet_ntop()

Converts a packed internet address to a human-readable representation.

inet_ntop()

function inet_ntop(string $ip): mixed

Converts a packed internet address to a human-readable representation.

Parameters:

  • $ip (string)

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how inet_ntop is implemented in the compiler, see the internals page.