So far the output of our PHP scripts has been sent straight to the client that called the script, but think what possibilities would be available if we could store up output in a series of pigeon holes and output it when we wanted? In PHP this technique is known as output buffering, and it is the topic of our next chapter.
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: Output Buffering >>
Previous chapter: Further reading
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.