php学着学着迷糊了,请教一下
class Test1 {<br /> static private $_instance; //静态私有<br /> private public $_obj; //私有<br /> static public function getInstance($_obj) {<br /> self::$_instance = new self();<br /> self::$_instance->_obj = $_obj;<br /> self::$_instance->_obj->run();<br /> }<br />}<br />class Test2 {<br /> public function run() {<br /> echo 123;<br /> }<br />}<br /><br />Test1::getInstance(new Test2()); //为什么没有输出123呢?<br />