test.php文件 [php] view plain copy <?php return array( 'name' => 'andy', 'sex' => 'male' ); ?> set.php文件 [php] view plain copy <?php $set = include("test.php"); print_r($set);exit; ?>