php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13025 Unknown list entry type in request shutdown with create_comment()
Submitted: 2001-08-29 08:26 UTC Modified: 2001-08-29 17:52 UTC
From: chregu at phant dot ch Assigned:
Status: Closed Package: DOM XML related
PHP Version: 4.0CVS-2001-08-29 OS: Linux Debian/unstable
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chregu at phant dot ch
New email:
PHP Version: OS:

 

 [2001-08-29 08:26 UTC] chregu at phant dot ch
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-29 13:48 UTC] chregu at phant dot ch
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 17:52 UTC] joey@php.net
Fixed in CVS, thanks for the report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC