note 93550 added to domdocument.loadxml
| From: | cuisdy at gmail dot com | Date: | Wed, 16 Sep 2009 02:51:21 +0000 |
| Subject: | note 93550 added to domdocument.loadxml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160596@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 190.135.153.185
----
Manual Page -- http://www.php.net/manual/en/domdocument.loadxml.php
Edit -- https://master.php.net/note/edit/93550
Del: integrated -- https://master.php.net/note/delete/93550/integrated
Del: useless -- https://master.php.net/note/delete/93550/useless
Del: bad code -- https://master.php.net/note/delete/93550/bad+code
Del: spam -- https://master.php.net/note/delete/93550/spam
Del: non-english -- https://master.php.net/note/delete/93550/non-english
Del: in docs -- https://master.php.net/note/delete/93550/in+docs
Del: other reasons-- https://master.php.net/note/delete/93550
Reject -- https://master.php.net/note/reject/93550
Search -- https://master.php.net/manage/user-notes.php