Created
May 4, 2013 08:42
-
-
Save blar/5516851 to your computer and use it in GitHub Desktop.
DomDocument lädt leeren String
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| libxml_use_internal_errors(true); | |
| $document = new DomDocument(); | |
| $document->loadXML(''); | |
| ?> | |
| PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in - on line 6 | |
| PHP Stack trace: | |
| PHP 1. {main}() -:0 | |
| PHP 2. DOMDocument->loadXML() -:6 | |
| Warning: DOMDocument::loadXML(): Empty string supplied as input in - on line 6 | |
| Call Stack: | |
| 0.0002 229712 1. {main}() -:0 | |
| 0.0367 230752 2. DOMDocument->loadXML() -:6 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment