<?phpclass mypc
{
  private $name;
  private $pig;
  
  function __construct($n='')
  {
$this->name=$n;
$this->pig=$n;
  
  }
      
  function __get($t)
  {
 return $this->$t;
  }
  
  function __set($n,$v)
  {
$this->$n=$v; 
  
  }
 
}$pc1=new mypc('我是PHP程序员');echo $pc1->name;echo $pc1->pig;
?>
我想问,为什么function __get($t)
  {
 return $this->$t;
  }
  
里的 $t ,类里面根本没这个属性, 也可以获得类里$name 和 $pig 的值??另外问一下,$this->$t ,跟 $this->t 有什么区别??