diff options
author | Christian Stocker <chregu@php.net> | 2002-08-22 14:32:43 +0000 |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2002-08-22 14:32:43 +0000 |
commit | 2ce44cd99c34c9fa8aebb3425468fb62ec807df3 (patch) | |
tree | 5717fe8084dfc109c03c09bf8e3c8e6005bb20da /ext/domxml/php_domxml.c | |
parent | 6ce08f7382b9e92cf8699f11754761d65f2e6571 (diff) | |
download | php-git-2ce44cd99c34c9fa8aebb3425468fb62ec807df3.tar.gz |
return version number of linked libxml2, not of the one, which it was
compiled against
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 837d25e6a8..1ee50ff942 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -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 */ |