php8.5
Home/ Manual/ sockets / functions/ socket_addrinfo_explain

socket_addrinfo_explain

PHP function Edit on GitHub ✎

(PHP 7 >= 7.2.0, PHP 8)

Get information about addrinfo

Description

socket_addrinfo_explain(AddressInfo $address): array

socket_addrinfo_explain() exposed the underlying addrinfo structure.

Parameters

address

AddressInfo instance created from socket_addrinfo_lookup().

Return Values

Returns an array containing the fields in the addrinfo structure.

Changelog

VersionDescription

See Also

Source: reference/sockets/functions/socket-addrinfo-explain.xml · from the official PHP manual (php/doc-en)