note 93550 rejected from domdocument.loadxml by danbrown
| From: | danbrown@php.net | Date: | Wed, 16 Sep 2009 02:53:24 +0000 |
| Subject: | note 93550 rejected from domdocument.loadxml by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160597@lists.php.net to get a copy of this message | ||
Note Submitter: cuisdy at gmail dot com
----
Testing the example given here:
$doc = DOMDocument::loadXML('<root><node/></root>');
Unknown error type: [2048] Non-static method DOMDocument::loadXML() should not be called statically
It is the same error I get when trying ::load() staticaly, by the way. If the option for ::loadXML
was available in later versions, it should be explained in the decumentation, IMHO.
PHP version: 5.2.2