$a = 1;
class Test{
   function test(){ 
      //global $a; 
      echo $a;
   }

$test = new Test();
$test->test();如何在test方法里获取到$a ?