getdns Functions
PHP Manual

php_getdns_dict_get_names

(PECL getdns >= 0.10.0)

php_getdns_dict_get_namesGet a list of all names in a dictionary.

Description

int php_getdns_dict_get_names ( int $dict , int &$names )

This function gets a list of names from a dictionary. The dictionary type is used to manage name/value pairs in which the names are strings and the data types of the values are heterogeneous and include bindata, dictionaries, lists, and integers.

Parameters

dict

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

names

A reference to the list of names (contained within the dictionary) to be returned. Note that this argument is passed by reference and any existing value will be overwritten. The list must eventually be destroyed using php_getdns_list_destroy().

Return Values

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


getdns Functions
PHP Manual