示例#1
0
 public function callStatics()
 {
     self::callNonStaticMethod();
     static::callNonStaticMethod();
     parent::callNonStaticMethod();
     \NS1\A::callNonStaticMethod();
     \NS1\A::callNonStaticMethod();
     \NS2\B::callNonStaticMethod();
 }
示例#2
0
 public function __construct()
 {
     self::callNonStaticMethod();
     static::callNonStaticMethod();
     parent::callNonStaticMethod();
     \NS1\A::callNonStaticMethod();
     \NS1\A::callNonStaticMethod();
     \NS2\B::callNonStaticMethod();
 }