chregu Sun Jul 25 10:59:21 2004 EDT
Modified files:
/php-src NEWS
/php-src/ext/simplexml simplexml.c
Log:
renamed registerNamespace() to registerXPathNamespace()
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1774&r2=1.1775&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1774 php-src/NEWS:1.1775
--- php-src/NEWS:1.1774 Sun Jul 25 07:02:42 2004
+++ php-src/NEWS Sun Jul 25 10:59:20 2004
@@ -13,7 +13,7 @@
. array_intersect_ukey() (Christiano Duarte)
. stream_context_get_default() (Wez)
. stream_socket_enable_crypto() (Wez)
- . SimpleXMLElement->registerNamespace() (Christian)
+ . SimpleXMLElement->registerXPathNamespace() (Christian)
- PHP will now respect extension dependencies when initializing. (Wez)
- Added Cursor support for MySQL 5.0.x in mysqli (Georg)
- Added proxy support to ftp wrapper via http. (Sara)
http://cvs.php.net/diff.php/php-src/ext/simplexml/simplexml.c?r1=1.140&r2=1.141&ty=u
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.140 php-src/ext/simplexml/simplexml.c:1.141
--- php-src/ext/simplexml/simplexml.c:1.140 Sun Jul 25 07:02:43 2004
+++ php-src/ext/simplexml/simplexml.c Sun Jul 25 10:59:21 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: simplexml.c,v 1.140 2004/07/25 11:02:43 chregu Exp $ */
+/* $Id: simplexml.c,v 1.141 2004/07/25 14:59:21 chregu Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -844,7 +844,7 @@
xmlXPathFreeObject(retval);
}
-SXE_METHOD(registerNamespace)
+SXE_METHOD(registerXPathNamespace)
{
php_sxe_object *sxe;
zval *id;
@@ -1627,7 +1627,7 @@
SXE_ME(__construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) /* must
be called */
SXE_ME(asXML, NULL, ZEND_ACC_PUBLIC)
SXE_ME(xpath, NULL, ZEND_ACC_PUBLIC)
- SXE_ME(registerNamespace, NULL, ZEND_ACC_PUBLIC)
+ SXE_ME(registerXPathNamespace, NULL, ZEND_ACC_PUBLIC)
SXE_ME(attributes, NULL, ZEND_ACC_PUBLIC)
SXE_ME(children, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
@@ -1675,7 +1675,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "Simplexml support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.140 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.141 $");
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