目录文件处理函数之clearstatcache函数--清除缓存
来源:互联网 发布:费用优化方案 编辑:程序博客网 时间:2024/05/19 13:06
Clearstatcache函数—清除缓存
当应用某些文件操纵函数对文件进行操作时,PHP将缓存这些函数的返回信息以提供更快的性能,还可以应用clearstatcache()函数清除缓存的内容。
【语法】:void clearstatcache(void)
参数为空。
【示例】
<?PHP $array = stat(“c:/windows/index.php”); Print_r($array); Clearstatcache();
【注意】
将返回信息保存到缓存中的文件操作函数有stat(),lstat(),file_exits(),is_writable(),is_readable(),is_executable(),is_file(),is_dir(),is_link(),filectime(),filemtime(),fileinode(),filegroup(),fileowner(),filesize(),filetype(),fileperms().
0 0
- 目录文件处理函数之clearstatcache函数--清除缓存
- clearstatcache -- 清除文件状态缓存
- clearstatcache — 清除文件状态缓存
- PHP clearstatcache() 函数
- 目录文件处理函数之dir函数-将目录名转换为对象
- c函数之【文件及目录函数】
- API之文件处理函数
- API之文件处理函数
- API之文件处理函数
- PHP TIPS:关于状态函数应用file_exists()和clearstatcache();
- php目录处理函数
- 系统编程函数之文件目录操作
- PHP清空缓存 clearstatcache()
- Linux C函数之文件及目录函数
- Linux C函数之文件及目录函数
- Linux C函数之文件及目录函数
- Linux C函数之文件及目录函数
- Linux C函数之文件及目录函数(2)
- 关于ARC机制
- httpclent 访问https 忽略host检查 和一些 认证过程
- makefile构建网站
- 手机卫士-12
- Android抽象布局——include、merge 、ViewStub
- 目录文件处理函数之clearstatcache函数--清除缓存
- 数据结构值约瑟夫环问题
- SGU 134 Centroid 树形DP
- spring整合struts2时action里的service注入不进来,报空指针异常
- 代理的作用
- 【Android API Guides简译(四)】使用Service还是使用线程?
- sourceinsight添加makefile、kconfig、*.S文件支持
- cocostudio打包时提示ANT_ROOT not defined. Please define it in your environment解决方法
- Cocos2d-JS____CocosDenshion引擎