#18119 [Opn->Fbk]: domxml extension: DomDocument->create_element() doesn't work
| From: | iliaa@php.net | Date: | Fri, 18 Oct 2002 03:01:43 +0000 |
| Subject: | #18119 [Opn->Fbk]: domxml extension: DomDocument->create_element() doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22715@lists.php.net to get a copy of this message | ||
ID: 18119
Updated by: iliaa@php.net
Reported By: mk@lrn.ru
-Status: Open
+Status: Feedback
Bug Type: Zend Engine 2 problem
Operating System: ALTLinux-2.4.18, glibc 2.2.5
PHP Version: 4.0CVS-2002-07-02
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-07-02 18:11:03] mk@lrn.ru
It seems, that ZendEngine2 breaks create_element() behavior. This
method returns NULL instead of DomElement object.
There is my test code.
<?php
$doc = domxml_new_doc("1.0");
$root = $doc->create_element("xdocument");
$root = $doc->append_child($root);
$descr = $doc->create_element("description");
$descr = $root->append_child($descr);
print $doc->dump_mem();
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18119&edit=1