(PECL getdns >= 0.10.0)
php_getdns_list_create_with_context — Create an empty list using the memory functions associated with a context.
$context
)This function creates an empty list using the memory functions associated with an existing context. As currently implemented for PHP, this function uses the default memory functions provided by the getdns library.
context
The previously created DNS context that is to be used with this request.
This function returns an integer representation of an empty list. The list must eventually be freed using php_getdns_list_destroy(). The return value will be 0 (zero) if an error occurred.