diff options
author | Sebastian Bergmann <sebastian@php.net> | 2003-05-25 07:23:41 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2003-05-25 07:23:41 +0000 |
commit | 70fa1ff7f51089a5c1ffbde12c4e4a7e0f432fd9 (patch) | |
tree | b84f7c4fba5d7c3efbc62d5a01b6af0815742807 /ext/xml/xml.c | |
parent | f53360616e15d83f48ed0ea43d679a90ea9d864d (diff) | |
download | php-git-70fa1ff7f51089a5c1ffbde12c4e4a7e0f432fd9.tar.gz |
Hopefully get correct display of version information.
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r-- | ext/xml/xml.c | 6 |
1 files changed, 5 insertions, 1 deletions
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(); } /* }}} */ |