As we have seen, PHP supports object-oriented programming through language constructs such as classes and methods. The language also provides wider support through functions and classes designed to help you work with objects.
In this chapter, we will look at some tools and techniques that you can use to organize, test, and manipulate objects and classes.
Namespaces: Organize your code into discrete package-like compartments
Include paths: Setting central accessible locations for your library code
Class and object functions: Functions ...