ID: 39038 Updated by: [EMAIL PROTECTED] Reported By: spanchang02 at yahoo dot com -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: WindowsXP Prof 2002 ServPack 2 PHP Version: 5.1.6 New Comment:
domxml.dll is for PHP4, use http://php.net/dom in PHP5. Previous Comments: ------------------------------------------------------------------------ [2006-10-04 17:43:29] spanchang02 at yahoo dot com Description: ------------ Create a single line .php file in localhost like echo 'hello world'. Enable php_domxml extension in php.ini. It produces several PHP notices like PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in ... Reproduce code: --------------- Create any php file under localhost. Even a single line echo or phpinfo line will do. Turn on php_domxml in php.ini Expected result: ---------------- Produces several php notices at end of the content in the browser like: PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in ... Actual result: -------------- I have PECL loaded and libxml2-2.6.22.win32 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39038&edit=1