最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
PHP touch() 函数实例教程
时间:2022-07-02 10:03:21 编辑:袖梨 来源:一聚教程网
PHP touch() 函数实例教程
定义和用法
touch( )函数设置了访问和修改时间的指定文件。
此函数返回TRUE成功,或FALSE的失败。
语法
touch(filename,time,atime)
| Parameter | Description |
|---|---|
| filename | Required. Specifies the file to touch |
| time | Optional. Sets the time. The current system time is set by default |
| atime | Optional. Sets the access time. Default is the current system time if no parameters are set, or the same as the time parameter if that parameter is set |
提示和说明
注意:如果指定的文件不存在,这将是创建。
例如
相关文章
- boss智能门锁如何设置密码 04-29
- 王者荣耀世界橘右京厉害吗 04-29
- 《青云劫攻略天赋技能,成就无敌仙侠》(解锁潜能,掌握绝学,成就仙侠传奇) 04-29
- 桃源深处有人家藏经室悟证一至七日通关答案 04-29
- 怎么击败《Saros》中的“破碎崛起”先知 Boss 04-29
- 宫小攻略技能推荐2023(玩转宫小,轻松游戏攻略指南) 04-29