(PECL getdns >= 0.10.0)
php_getdns_get_version — Get the getdns runtime library version information in string format.
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.
This function has no parameters.
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".