Exercises are often viewed with suspicion in this kind of book - I tend to read them over, think "what dumb questions!" and ignore them. Of course, I tend to think that because I don't know the answer to one or two, therefore I think the author is at fault - if this is you too, I'm glad I'm not alone!
I've put the exercises here split by chapter, which makes the reading a little harder, I know, but I wouldn't want you to see answers to questions by accident.
If you for some reason disagree with one of the answers you see here, please do get in touch.
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 2 >>
Previous chapter: Bringing it to a close
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.