$s = new Wallet(); $s->count = 100 ; //報錯:PHP Notice: Accessing static property Wallet::$count as non static. 3.修改原本的code,在靜態方法內部定義$this
確定! 回上一頁