DOMDocument的疑问?
我想写一个网页版的rss reader,我发现DOMDocument有两种写法:
一种:
$doc = new DOMDocument();
$doc->load('book.xml');
DOMDocument::load('book.xml');
<b>Warning</b>: DOMDocument::load(http://feeds.feedburner.com/PHPMaster_feed) [<a href="domdocument.load">domdocument.load</a>]: failed to open stream: HTTP request failed!