test.pphp 获取一个文件中return array() 的值hp文件 <?php return array( 'name' => 'andy', 'sex' => 'male' ); ?> set.php文件 <?php $set = include("test.php"); print_r($set);exit; ?>