nerdexam
Zend

ZF-100-500 · Question #149

ZF-100-500 Question #149: Real Exam Question with Answer & Explanation

Sign in or unlock ZF-100-500 to reveal the answer and full explanation for question #149. The question stem and answer options stay visible for context.

Question

What will be the output of the following PHP script? <?php include("xml.inc"); if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the XML document \n"; exit; } $a = $dom->document_element(); print_r($a); ?>

Options

  • AIt will display the root element of the XML f ile.
  • BIt will display the XML code of the XML file.
  • CIt will throw an error.
  • DIt will display the contents of the XML file.

Unlock ZF-100-500 to see the answer

You've previewed enough free ZF-100-500 questions. Unlock ZF-100-500 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.

Full ZF-100-500 Practice