Created
December 29, 2012 02:17
-
-
Save anonymous/4404086 to your computer and use it in GitHub Desktop.
Hide errors in simplexml_load_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
$xml_body = simplexml_load_string('text.xml', NULL, LIBXML_NOERROR+LIBXML_ERR_FATAL+LIBXML_ERR_NONE); | |
var_dump($xml_body); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment