(PECL getdns >= 0.10.0)
php_getdns_dict_util_get_string — Get a bindata string value from a dictionary.
$dict
, string $name
, string &$value
)This function gets the character string value of the bindata associated with a given name in a dictionary.
dictThe previously created dictionary that is to be used with this request.
nameThe name whose associated bindata character string value is to be returned.
valueThe character string value of the bindata associated with the given name. Note that this argument is passed by reference and any existing value will be overwritten. NULL is returned if any conversion or memory allocation errors are encountered.
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion. GETDNS_RETURN_GENERIC_ERROR indicates an issue with the value parameter or the data type of the name-value pair.