Zend PHP 5.3 Certification Exam


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
  • Question 17/26

    You have been given the following code snippet:

    
    <?php
     $string = <<<XML
     <?xml version="1.0" encoding="ISO-8859-1"?> 
     <email> 
     <to>[email protected]</to> 
     <from>[email protected]</from> 
     <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?