PHP 5 has a more mature implementation of object-oriented programming, which is the practice of architecting your code for maximum reusability by sectioning up functionality into discrete packages. Indeed, the power offered by PHP's OOP support is so great that it deserves a whole chapter to itself, coming up next.
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: Objects >>
Previous chapter: Further reading
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.