PHP official learning OOP: http://php.net/manual/zh/oop5.intro.php
The following link source: http://blog.snsgou.com/post-41.html
Complete tutorial on PHP object-oriented (OOP) programming: 1. What is object-oriented?
Complete tutorial on PHP object-oriented (OOP) programming: 2. What is a class, what is an object, and the relationship between classes and objects
Complete tutorial on PHP object-oriented (OOP) programming: 3. What is object-oriented programming?
Complete tutorial on PHP object-oriented (OOP) programming: 4. How to abstract a class?
Complete tutorial on PHP object-oriented (OOP) programming: 5. How to instantiate objects?
Complete tutorial on PHP object-oriented (OOP) programming: 6. How to use members in objects
Complete tutorial on PHP object-oriented (OOP) programming: 7. The use of special reference "$this"
Complete tutorial on PHP object-oriented (OOP) programming: 8. Construction method __construct() and destructor method __destruct()
Complete tutorial on PHP object-oriented (OOP) programming: 9. Encapsulation
Complete tutorial on PHP object-oriented (OOP) programming: 10. Application of the four methods __set(), __get(), __isset(), and __unset()
Complete tutorial on PHP object-oriented (OOP) programming: 11. Class inheritance
Complete tutorial on PHP object-oriented (OOP) programming: 12. Overloading new methods (parent::)
Complete tutorial on PHP object-oriented (OOP) programming: 13. Access types (public, protected, private)
Complete tutorial on PHP object-oriented (OOP) programming: 14. Application of final keyword
Complete tutorial on PHP object-oriented (OOP) programming: 15. Use of static and const keywords
Complete tutorial on PHP object-oriented (OOP) programming: 16.__toString() method
Complete tutorial on PHP object-oriented (OOP) programming: 17. Clone object __clone() method
Complete tutorial on PHP object-oriented (OOP) programming: 18.__call() handles calling errors
Complete tutorial on PHP object-oriented (OOP) programming: 19. Abstract methods and abstract classes (abstract)
Complete tutorial on PHP object-oriented (OOP) programming: 20.PHP5 interface technology (interface)
Complete tutorial on PHP object-oriented (OOP) programming: 21. Application of polymorphism
Complete tutorial on PHP object-oriented (OOP) programming: 22. Serialize the object serialize() method, __sleep() method, __wakeup() method
Complete tutorial on PHP object-oriented (OOP) programming: 23. Automatically loading classes __autoload() function