摘要: call_user_func_array — 让参数以数组的形式调用一个函数 call_user_func — 调用一个存在的函数 create_function — 建立一个函数 func_get_arg — 获取函数中某个参数的值 func_get_args — 获取函数的所有参数并组成数组 func_num_args — 获取一个函数的参数个数 function_exists —... 阅读全文
posted @ 2010-06-30 09:44 已經停更 阅读(176) 评论(0) 推荐(0) 编辑
摘要: /** * 遍历文件夹 */ function Tree($space='',$dir="./") { //建立dir对象 $d = dir($dir); //得到子级文件及文件夹总数 $sonSum=count(scandir($dir)); while (false !... 阅读全文
posted @ 2010-06-30 07:18 已經停更 阅读(533) 评论(0) 推荐(0) 编辑