时间:2021-07-01 10:21:17 帮助过:7人阅读
a); }}$test = new test;$test->testa();?>
1);?>
class test{ public $a; function test() { $this->a = = include('./2.php'); } function testa() { print_r( $this->a); }}
class test{ public $a; public function __construct() { $this->a = include('./2.php'); } function testa() { print_r( $this->a); }}
放在方法里引入
谢谢大家的热心回答