getdns Functions
PHP Manual


(PECL getdns >= 0.10.0)

php_getdns_context_get_api_informationGet information about the getdns API and a specific context.


int php_getdns_context_get_api_information ( int $context )

This function describes getdns library parameters and a specific context in dictionary format. The dictionary can then be converted into a string or accessed using the php_getdns_dict_get_*() functions.



The previously created DNS context that is to be used with this request.

Return Values

Returns the integer value of a getdns dictionary. The returned dictionary will contain the following name/value pairs:

Note that the returned dictionary should be freed using php_getdns_dict_destroy() when it is no longer needed.

getdns Functions
PHP Manual