PrepAway - Latest Free Exam Questions & Answers

How can XML parsing errors be suppressed in the SimpleXML extension?

How can XML parsing errors be suppressed in the SimpleXML extension?

PrepAway - Latest Free Exam Questions & Answers

A.
error_reporting(E_ALL^E_NOTICE);

B.
simplexml_disable_errors(TRUE);

C.
simplexml_ignore_errors(TRUE);

D.
libxml_use_internal_errors(TRUE);

E.
simplexml_load_file(“file.xml”, LIBXML_NOERROR);

One Comment on “How can XML parsing errors be suppressed in the SimpleXML extension?


Leave a Reply

Your email address will not be published. Required fields are marked *