最新下载
热门教程
- 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 |
提示和说明
注意:如果指定的文件不存在,这将是创建。
例如
相关文章
- 《奇迹暖暖》捞星星的女孩快速获取指南 08-02
- 《极无双2》常驻活动推荐玩法攻略 08-02
- 《碧蓝航线》海伦娜·META技能有哪些效果 08-02
- 好玩的竖屏手游2022推荐 08-02
- 《创造与魔法》希腊恋人服装获取条件说明 08-02
- 《炉石传说》特殊嫌疑任务攻略 08-02