cvs: php4 /ext/domxml php_domxml.c

From: Date: Sat, 18 May 2002 17:07:59 +0000
Subject: cvs: php4 /ext/domxml php_domxml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11989@lists.php.net to get a copy of this message
chregu Sat May 18 13:07:59 2002 EDT Modified files: /php4/ext/domxml php_domxml.c Log: added "domxml API version" in phpinfo() output. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.156 php4/ext/domxml/php_domxml.c:1.157 --- php4/ext/domxml/php_domxml.c:1.156 Sat May 18 10:38:22 2002 +++ php4/ext/domxml/php_domxml.c Sat May 18 13:07:59 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_domxml.c,v 1.156 2002/05/18 14:38:22 chregu Exp $ */ +/* $Id: php_domxml.c,v 1.157 2002/05/18 17:07:59 chregu Exp $ */ /* TODO * - Support Notation Nodes @@ -34,6 +34,11 @@ #include "ext/standard/info.h" #define PHP_XPATH 1 #define PHP_XPTR 2 +/* DOMXML API_VERSION, please bump it up, if you change anything in the API + therefore it's easier for the script-programmers to check, what's working how + Can be checked with phpversion("domxml"); +*/ +#define DOMXML_API_VERSION "20020516" /* General macros used by domxml */ #define DOMXML_DOMOBJ_NEW(zval, obj, ret) if (NULL == (zval = php_domobject_new(obj, ret TSRMLS_CC))) { \ @@ -461,7 +466,7 @@ PHP_RINIT(domxml), NULL, PHP_MINFO(domxml), - "20020516", //Extension versionnumber + DOMXML_API_VERSION, //Extension versionnumber STANDARD_MODULE_PROPERTIES }; @@ -1428,6 +1433,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "DOM/XML", "enabled"); php_info_print_table_row(2, "libxml Version", LIBXML_DOTTED_VERSION); + php_info_print_table_row(2, "domxml API Version", DOMXML_API_VERSION); #if defined(LIBXML_HTML_ENABLED) php_info_print_table_row(2, "HTML Support", "enabled"); #endif @@ -4090,6 +4096,8 @@ RETURN_STRING(LIBXML_DOTTED_VERSION, 1); } /* }}} */ + + #if HAVE_DOMXSLT static zval *php_xsltstylesheet_new(xsltStylesheetPtr obj, int *found TSRMLS_DC)

« previous php.cvs (#11989) next »