PHP 8.1.0 Released!


(PHP 7 >= 7.2.0, PHP 8)

socket_addrinfo_explainGet information about addrinfo


socket_addrinfo_explain(AddressInfo $address): array

socket_addrinfo_explain() exposed the underlying addrinfo structure.

Liste de paramètres


AddressInfo instance created from socket_addrinfo_lookup()

Valeurs de retour

Returns an array containing the fields in the addrinfo structure.


Version Description
8.0.0 address est désormais une instance de AddressInfo ; auparavant, c'était une resource.

Voir aussi

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top