]> granicus.if.org Git - php/commitdiff
return version number of linked libxml2, not of the one, which it was
authorChristian Stocker <chregu@php.net>
Thu, 22 Aug 2002 14:32:43 +0000 (14:32 +0000)
committerChristian Stocker <chregu@php.net>
Thu, 22 Aug 2002 14:32:43 +0000 (14:32 +0000)
compiled against

ext/domxml/php_domxml.c

index 837d25e6a8f6bb442591ebf8772b5623ea4988d3..1ee50ff9424f8fa87a869f6d68c18a82f2359fc4 100644 (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 */