getdns Functions
PHP Manual

php_getdns_get_errorstr_by_id

(PECL getdns >= 0.10.0)

php_getdns_get_errorstr_by_idGet a character string that describes a getdns error code.

Description

string php_getdns_get_errorstr_by_id ( int $code )

This function describes a getdns response code in text format.

Parameters

code

The getdns response code to be described.

Return Values

This function returns a character string that describes a getdns response code in human-readable form. NULL is returned if the response code is unknown.


getdns Functions
PHP Manual