操作private变量的值
class new(){
function __get($name){
return $this->name;
}
function __set($name,$value){
$this->name=$this->value;
}
}
操作private变量的值
最新推荐文章于 2023-06-07 09:56:22 发布
操作private变量的值
class new(){
function __get($name){
return $this->name;
}
function __set($name,$value){
$this->name=$this->value;
}
}