Jump to content

DOM XML Problem


BloodyMind

Recommended Posts

When I instantiate it like this:

$dom = new DOMDocument();

 

I get this warning:

 

domdocument::domdocument() expects at least 1 parameter, 0 given

 

if I instantiate it like this

 

$dom = new DOMDocument('1.0', 'utf-8');

 

I get this warning:

Warning: domdocument::domdocument() expects parameter 2 to be long

Then after both warnings I get this fatal error too:

 

Fatal error: Call to undefined method domdocument::load()

 

What shall I do?

Is that the domxml extention is hallucinating ?

 

Link to comment
https://forums.phpfreaks.com/topic/113375-dom-xml-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.