1,Yii::app()->getBasePath(); ///var/www/yii_test/protected -------- 得到保护文件目录
2,ini_set();设置配置选项的值。
3,var_export() ------- >输出或返回一个字符串的变量表示。和var_dump()类似,var_export()输出的是合法的PHP代码。
4,get_header($url,[int format=0]);----得到头信息。
5,操作数组的几个函数:current($arr),next($arr),reset($arr).
6,urlencode($url)------ 编码 URL 字符串
7,mb_convert_encoding($string,to_encoding,from_encoding);
8,clearstatcache()函数,清除文件状态缓存。