示例#1
0
 function y()
 {
     //        self::$staticPropertySelf = 6;
     static::$staticPropertyStatic = 7;
     parent::$staticPropertyParent = 11;
     x::$staticPropertyx = 8;
     \x::$staticPropertyxFNS = 9;
     w::$staticPropertyw = 8;
     \w::$staticPropertywFNS = 9;
     \otherClass::$staticPropertyxFNS = 10;
 }
示例#2
0
 function y()
 {
     //        self::$staticPropertySelf = 6;
     static::$staticPropertyStatic = 7;
     // undeclared
     x::$staticPropertyx = 8;
     \x::$staticPropertyxFNS = 9;
     w::$staticPropertyx = 8;
     \w::$staticPropertyxFNS = 9;
     \otherClass::$staticPropertyxFNS = 10;
 }