php 获取一个文件中return array() 的值

来源:互联网 发布:remote desktop mac 编辑:程序博客网 时间:2024/05/17 02:15
test.php文件
<?php  return array(      'name' => 'andy',      'sex' => 'male'  );  ?> 

set.php文件
<?php  $set = include("test.php");  print_r($set);exit;  ?>  

0 0
原创粉丝点击