bjori           Mon Jun 26 15:36:45 2006 UTC

  Modified files:              
    /php-src/ext/simplexml      simplexml.c 
  Log:
  MFB: saveXML() -> asXML() alias
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/simplexml.c?r1=1.209&r2=1.210&diff_format=u
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.209 
php-src/ext/simplexml/simplexml.c:1.210
--- php-src/ext/simplexml/simplexml.c:1.209     Tue May 23 22:22:35 2006
+++ php-src/ext/simplexml/simplexml.c   Mon Jun 26 15:36:45 2006
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: simplexml.c,v 1.209 2006/05/23 22:22:35 helly Exp $ */
+/* $Id: simplexml.c,v 1.210 2006/06/26 15:36:45 bjori Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -48,6 +48,7 @@
 }
 
 #define SXE_ME(func, arg_info, flags) PHP_ME(simplexml_element, func, 
arg_info, flags)
+#define SXE_MALIAS(func, alias, arg_info, flags) PHP_MALIAS(simplexml_element, 
func, alias, arg_info, flags)
 
 #define SXE_METHOD(func) PHP_METHOD(simplexml_element, func)
 
@@ -2207,6 +2208,7 @@
 static zend_function_entry sxe_functions[] = {
        SXE_ME(__construct,            NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) /* 
must be called */
        SXE_ME(asXML,                  NULL, ZEND_ACC_PUBLIC)
+       SXE_MALIAS(saveXML, asXML,         NULL, ZEND_ACC_PUBLIC)
        SXE_ME(xpath,                  NULL, ZEND_ACC_PUBLIC)
        SXE_ME(registerXPathNamespace, NULL, ZEND_ACC_PUBLIC)
        SXE_ME(attributes,             NULL, ZEND_ACC_PUBLIC)
@@ -2262,7 +2264,7 @@
 {
        php_info_print_table_start();
        php_info_print_table_header(2, "Simplexml support", "enabled");
-       php_info_print_table_row(2, "Revision", "$Revision: 1.209 $");
+       php_info_print_table_row(2, "Revision", "$Revision: 1.210 $");
        php_info_print_table_row(2, "Schema support",
 #ifdef LIBXML_SCHEMAS_ENABLED
                "enabled");

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to