Zend 100-500 Question Answer
You have been given the following PHP script:
1.
2. $xmlstring = << 3. 4. 5. 6. 7. 8.
9.
10. XML;
11. $xml = new SimpleXMLElement($xmlstring);
12. foreach($xml->children() as $child)
13. {
14.
15. }
16. ?>
Which of the following code snippets will you insert at line number 14 to get the following output?