Hacking with PHP has been updated for PHP 7 - click here! >>

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.


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.