Zend
ZF-100-500 · Question #176
ZF-100-500 Question #176: Real Exam Question with Answer & Explanation
Sign in or unlock ZF-100-500 to reveal the answer and full explanation for question #176. The question stem and answer options stay visible for context.
Question
You run the following PHP script: <?php include("xml.inc"); if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the XML document \n"; exit; } $a = ********** print_r($a); ?> Which of the following functions will you use instead o f * if you want to print the root element of the XML file?
Options
- A$node->parent_node();
- B$dom->document_element();
- C$dom->root_node();
- D$dom->root_element();
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.