note 44480 added to function.dom-domdocument-load
| From: | gem at rellim dot com | Date: | Sat, 07 Aug 2004 07:13:07 +0000 |
| Subject: | note 44480 added to function.dom-domdocument-load | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74137@lists.php.net to get a copy of this message | ||
If you load the $doc statically then you can easily test for success:
$doc = DOMDocument::load("filename.xml");
if ( !$doc ) {
echo "load() failed!";
}
----
Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-load.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44480
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44480&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44480&report=yes
Search -- http://master.php.net/manage/user-notes.php