问答详情
源自:4-3 Static(静态)关键字-PHP面向对象编程

为什么会有unexcepted "="

    public static $president="Dave Stern";
    
    public static function changePresident($newPrsdt){
        self::$president=$newPrsdt;
    }

提问者:amsw11 2015-08-19 21:49

个回答

  • amsw11
    2015-08-19 21:51:45

    不小心设置了断点T_T