In this book PHP6, you explored the concept of object - oriented programming (OOP). Objects are run - time bundles of data and functions created from a class definition. They have characteristics, called properties , and behaviors, called methods. Properties can be thought of as variables, and methods as functions. Some classes share a common parent type. When you declare a class to be a subtype of a parent class, it inherits the methods and properties of the parent.
Скачать pdf: eng.