|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-04-24 12:19 UTC] sofa77 at gmx dot de
Description:
------------
for any reason (that i don't know) this function does not exist in php 5.0.4, tested on windows xp.
<?php
$dom = new DOMDocument(null);
$dom->loadXML('<root>hhh</root>');
?>
will cause an error:
Fatal error: Call to undefined method domdocument::loadXML() ...
Reproduce code:
---------------
<?php
$dom = new DOMDocument(null);
$dom->loadXML('<root>hhh</root>');
?>
Expected result:
----------------
nothing
Actual result:
--------------
Fatal error: Call to undefined method domdocument::loadXML() in d:\eigene\_project\eva\www\php\Domain\FormValidator\Ims.class.php on line 136
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 12:00:01 2025 UTC |
DOMDocument::loadXML should still exists in 5.0.4, so this is not a documentation issue. I can't reproduce your error and the function really still exists, so this is not even the source code problem. Try to consult support forums. Although you provided simple example, actual result is not from it ("error on line 136") so the problem probably lies somewhere else.