"What is the first parameter to ob_get_contents()" The answer is "d", as it accepts no parameters.
"The overhead of using output buffering means that you should only use it when absolutely necessary: true or false" False. In fact, output buffering is often recommended to be turned on by default.
"When using output buffering, you can send cookies after HTML: true or false" True.
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 14 >>
Previous chapter: Answers to Chapter 12
Jump to:
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.