|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-12-05 05:34 UTC] sniper@php.net
[2003-12-05 05:37 UTC] jury at hightech dot lv
[2003-12-05 05:41 UTC] derick@php.net
[2003-12-10 10:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 00:00:01 2025 UTC |
Description: ------------ When PHP CGI extension call function domxml_new_doc("1.0") it show an error without returning an object. Reproduce code: --------------- #!/usr/local/bin/php_new -q <? $doc = domxml_new_xmldoc("1.0"); echo "Dom Object: $doc\n"; ?> Expected result: ---------------- "Dom Object: Object" Actual result: -------------- PHP Warning: domxml_new_xmldoc(): Unsupported node type: 0 in /tmp/temp/test.php on line 3 <br /> <b>Warning</b>: domxml_new_xmldoc(): Unsupported node type: 0 in <b>/tmp/temp/test.php</b> on line <b>3</b><br /> PHP Warning: domxml_new_xmldoc(): Cannot create required DOM object in /tmp/temp/test.php on line 3 <br /> <b>Warning</b>: domxml_new_xmldoc(): Cannot create required DOM object in <b>/tmp/temp/test.php</b> on line <b>3</b><br /> Dom Object: