diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 837d25e6a8f..1ee50ff9424 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 */