"; echo "这里的 \$this->a 是属性 $this->a"; } } $a = new A(); // 这里的$a 可不是类中的任何一个变量了. $a->printInt(88); ?>