From: Sebastian Bergmann Date: Sun, 25 May 2003 07:23:41 +0000 (+0000) Subject: Hopefully get correct display of version information. X-Git-Tag: RELEASE_1_0_2~599 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70fa1ff7f51089a5c1ffbde12c4e4a7e0f432fd9;p=php Hopefully get correct display of version information. --- diff --git a/ext/xml/xml.c b/ext/xml/xml.c index dea6f66f5c..d7324e05bd 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -261,7 +261,11 @@ PHP_MINFO_FUNCTION(xml) php_info_print_table_start(); php_info_print_table_row(2, "XML Support", "active"); php_info_print_table_row(2, "XML Namespace Support", "active"); - php_info_print_table_row(2, "EXPAT Version",XML_ExpatVersion()); +#ifdef LIBXML_DOTTED_VERSION + php_info_print_table_row(2, "libxml2 Version", LIBXML_DOTTED_VERSION); +#else + php_info_print_table_row(2, "EXPAT Version", XML_ExpatVersion()); +#endif php_info_print_table_end(); } /* }}} */