getdns Functions
PHP Manual


(PECL getdns >= 0.10.0)

php_getdns_context_detach_eventloopDetach an asynchronous event loop from a context.


int php_getdns_context_detach_eventloop ( int $context )

An application can set an event loop extension on a context. This function detaches the event loop from a context and can be called by an application when all work has been completed.



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

Return Values

This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.

getdns Functions
PHP Manual