类与对象(PHP 5)
Table of Contents
- 基本概念
- 自动加载对象
- 构造函数和析构函数
- 访问控制
- 范围解析操作符(::)
- Static Keyword
- Class Constants
- Class Abstraction
- Object Interfaces
- Overloading
- Object Iteration
- Patterns
- Magic Methods
- Final Keyword
- Object cloning
- Comparing objects
- Reflection
- Type Hinting
前言
PHP 5 引入了新的对象模型(Object Model)。完全重写了 PHP 处理对象的方式,允许更佳性能和更多特性。