1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

return version number of linked libxml2, not of the one, which it was

compiled against
This commit is contained in:
Christian Stocker
2002-08-22 14:32:43 +00:00
parent 6ce08f7382
commit 2ce44cd99c

View File

@@ -4902,7 +4902,7 @@ PHP_FUNCTION(xptr_eval)
Get XML library version */
PHP_FUNCTION(domxml_version)
{
RETURN_STRING(LIBXML_DOTTED_VERSION, 1);
RETURN_STRING(xmlParserVersion,1);
}
/* }}} */
@@ -5179,7 +5179,7 @@ PHP_FUNCTION(domxml_xslt_process)
Get XSLT library version */
PHP_FUNCTION(domxml_xslt_version)
{
RETURN_STRING(LIBXSLT_DOTTED_VERSION, 1);
RETURN_LONG(xsltLibxsltVersion);
}
/* }}} */
#endif /* HAVE_DOMXSLT */