getdns Functions
PHP Manual

php_getdns_get_api_version

(PECL getdns >= 0.10.0)

php_getdns_get_api_versionGet the getdns runtime API version information in string format.

Description

string php_getdns_get_api_version ( void )

This function returns the runtime getdns API version information in string format. Note that this will give you the version of the library that you're currently linked against, not the version of the headers used to compile the library. Compile-time information can be found using the phpinfo() function once the getdns extension has been loaded by PHP. The version information should be consistent for reliable operation.

Parameters

This function has no parameters.

Return Values

This function returns an string representation of the runtime getdns API version information. The format includes the month and year associated with the API version number. For example, the API version of July 2015 has a string representation of "July 2015".


getdns Functions
PHP Manual