(PECL getdns >= 0.10.0)
php_getdns_context_destroy — Destroy an existing DNS context.
$context
)This function cleans up the context, including cleaning up all outstanding transactions that were called using this context. When getdns_context_destroy() returns, the application knows that all outstanding transactions associated with this context will have been called; callbacks that had not been called before getdns_context_destroy() was called will be called with a callback_type of GETDNS_CALLBACK_CANCEL. getdns_context_destroy() returns after all of the needed cleanup is done and callbacks are made.
context
The context to be destroyed.
This function does not return any values. The context will be invalid after the function returns.