Re: cvs: php4 /ext/domxml php_domxml.c

From: Date: Thu, 22 Mar 2001 12:18:50 +0000
Subject: Re: cvs: php4 /ext/domxml php_domxml.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4772@lists.php.net to get a copy of this message
When I still remember..I'm getting a lot of error messages into my error_log, e.g.: Unknown(0) : Warning - Constant xpath_boolean already defined And I think you have PHP_MINIT and PHP_RINIT mixed.. ie. Index: php_domxml.c =================================================================== RCS file: /repository/php4/ext/domxml/php_domxml.c,v retrieving revision 1.33 diff -u -r1.33 php_domxml.c --- php_domxml.c 2001/03/22 06:58:13 1.33 +++ php_domxml.c 2001/03/22 12:13:37 @@ -667,12 +667,12 @@ return(wrapper); } -PHP_MINIT_FUNCTION(domxml) +PHP_RINIT_FUNCTION(domxml) { return SUCCESS; } -PHP_RINIT_FUNCTION(domxml) +PHP_MINIT_FUNCTION(domxml) { zend_class_entry ce; le_domxmldocp = zend_register_list_destructors_ex(php_free_xml_doc, NULL, "domdocument", module_number);

« previous php.cvs (#4772) next »