ID: 18119 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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