PHP的new static和new self的区别与使用
下面我们举个栗子: class Father { public static function getSelf() { return new self(); } public static function getStatic() { return new static(); }}class Son extends Father {}echo get_class(Son::getSelf()); // Fatherecho get_clas...