Zend
200-530 · Question #16
200-530 Question #16: Real Exam Question with Answer & Explanation
Sign in or unlock 200-530 to reveal the answer and full explanation for question #16. The question stem and answer options stay visible for context.
Question
You have been given the following code snippet: <?php $string = <<<XML <?xml version="1.0" encoding="ISO-8859-1"?> <email> <heading>Technical issue in Linux OS</heading> <body>There is a technical issue in my Linux system. Please Fix it. </body> </email> XML; <Write code here> ?> Which of the following code snippets will you write to print the XML content?
Options
- A$xml = XML_string($string);
- B$xml = simplexml_load_string($string);
- C$xml = load_XML($string);
- D$xml = simplexml_string($string);
Unlock 200-530 to see the answer
You've previewed enough free 200-530 questions. Unlock 200-530 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.