Expand description
Network helpers: inet_pton/inet_ntop.
PHP’s address functions call the C library; the dev image is Alpine, so
these are ports of musl’s inet_pton/inet_ntop (src/network/), whose
IPv6 formatting differs from glibc’s in which zero run it compresses.
Structs§
- NulByte
Error - PHP’s
ValueErrorfor a string argument that must not contain NUL bytes (Z_PARAM_PATH):"<function>(): Argument #1 ($ip) must not contain any null bytes".
Enums§
- Packed
Addr - A packed address from
inet_pton.