Answers to Chapter 12

  1. "Case folding is the process of matching start tags to end tags in an event-based parser: true or false" False, it's the act of converting all string cases to a uniform system, usually lowercase.

  2. "What does SimpleXML do when it encounters an XML attribute" Ignores it.

  3. "What is the primary reason for using PHP to process XML and XSLT rather than letting it be processed on the client side" The client may not support either of the two formats, or may process them incorrectly.


Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Answers to Chapter 13 >>

Previous chapter: Answers to Chapter 11

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.