ID: 13025
Updated by: joey
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: DOM XML related
Operating System: Linux Debian/unstable
PHP Version: 4.0CVS-2001-08-29
New Comment:
Fixed in CVS, thanks for the report.
Previous Comments:
------------------------------------------------------------------------
[2001-08-29 13:48:39] [EMAIL PROTECTED]
Markus Fischer sent a patch for php_domxml.c to me. The warning is gone since then ;)
here's the patch:
RCS file: /repository/php4/ext/domxml/php_domxml.c,v
retrieving revision 1.67.2.2
diff -r1.67.2.2 php_domxml.c
808c808
<
---
> le_domxmlcommentp = zend_register_list_destructors_ex(php_free_xml_node, NLL,
>"domcomment", module_number);
------------------------------------------------------------------------
[2001-08-29 08:26:09] [EMAIL PROTECTED]
Hi
I'm again not sure, if this is really a bug, or if the method is not finished or if I
use it the wrong way (since documentation is missing)
The code
$xml = new_xmldoc('1.0');
$root = $xml->add_root("root");
$comment = $xml->create_comment("this is just a comment");
$newchild = $root->add_child($comment);
gives the warning:
Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0
Hope that helps for cleaning some bugs ;)
chregu
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13025&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]