(PECL getdns >= 0.10.0)
php_getdns_list_get_list — Get a list value from a list.
$list
, int $index
, int &$value
)This function gets a list value from a list. The list type is used to manage heterogeneous lists of objects consisting of bindata, dictionaries, lists, and integers.
listThe previously created list that is to be used with this request.
indexThe numeric index (0 based) of the item in the list to be retrieved.
valueThe list value to be returned. Note that this argument is passed by reference and any existing value will be overwritten.
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.