getdns Functions
PHP Manual

php_getdns_get_version

(PECL getdns >= 0.10.0)

php_getdns_get_versionGet the getdns runtime library version information in string format.

Description

string php_getdns_get_version ( void )

This function returns the runtime getdns library 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 library version information. The format includes the major, minor, and patch level parts of the version number. For example, library version 0.3.0 has a string representation of "0.3.0".


getdns Functions
PHP Manual