(PECL getdns >= 0.10.0)
php_getdns_list_get_data_type — Get the data type of an element from a list.
This function gets the data type of an element from a list. The list type is used to manage heterogeneous lists of objects consisting of bindata, dictionaries, lists, and integers.
The previously created list that is to be used with this request.
The numeric index (0 based) of the item in the list whose data type is to be retrieved.
The data type of the list element at the specified index. Valid values include constants t_bindata, t_dict, t_int, and t_list. 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.