pay*_*ike -6 php methods attributes class
我遇到了问题
class a
{
public $aa=1;
public function dd(){
$this->aa = 2;
}
public function gg(){
echo $this->aa ;
}
}
Run Code Online (Sandbox Code Playgroud)
怎么进去的方法echo $this->aa还是'1'?