static 延迟绑定
- 代表继承后的类,多用于父类中填写
- 用户属性与方法时代表类的规则
self 当前类
指向出现的当前类,子类中继承的方法调用的类实际上是父类
parent 父类
多用来复写父类方法与属性
$this
代表类实例化后的对象
abstract | interface
- abstract 复写
- interface 统一规范
Exception 错误处理
throw
类中抛出错误,不进行处理try catch
逻辑层获取并处理错误
拦截器(overloading | interceptor | 魔术方法)
- __call()
- __tostring()
- __clone()
- __construct() | destruct()
- __get() | set()
- __isset() | unset()