function C($name=null, $value=null,$default=null) {
static $_config = array();
// 无参数时获取所有
if (empty($name)) {
return $_config; //C() 返回所有配置参数的数组
}
在C()函数中$_config =是空数组; 为什么这个$_config会等于配置文件里的数组? $_config 在函数内部,即使是static静态变量,也是赋值为空数组;
求助: $_config为什么=配置文件的数组?