(PECL getdns >= 0.10.0)
php_getdns_dict_create_with_context — Create an empty dictionary using the memory functions associated with a context.
$context
)This function creates an empty dictionary 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 dictionary. The dictionary must eventually be freed using php_getdns_dict_destroy(). The return value will be 0 (zero) if an error occurred.