(PECL getdns >= 0.10.0)
php_getdns_dict_get_bindata — Get a bindata value from a dictionary.
$dict
, string $name
, string &$value
)This function gets a bindata value 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.
dict
The previously created dictionary that is to be used with this request.
name
The name whose associated value is to be returned.
value
The bindata value to be returned. The character string can be converted into an associative array of elements using the PHP unpack() function. 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.