getdns Functions
PHP Manual

php_getdns_list_create_with_context

(PECL getdns >= 0.10.0)

php_getdns_list_create_with_contextCreate an empty list using the memory functions associated with a context.

Description

int php_getdns_list_create_with_context ( int $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.

Parameters

context

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

Return Values

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.


getdns Functions
PHP Manual