Consider the following XML code:

🎲 Try a Random Question  |  Total Questions in Quiz: 149  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
200-550 Test: Zend Certified PHP Engineer — practice the complete quiz, review flashcards, or try a random question.


Consider the following XML code: <?xml version=1.0" encoding="utf-8"?> <books> <book id="1">PHP 5.5 in 42 Hours</book> <book id="2">Learning PHP 5.5 The Hard Way</book> </books> Which of the following SimpleXML calls prints the name of the second book? (Let $xml = simplexml_load_file("books.xml"); .) "