最新下载
热门教程
- 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 |
提示和说明
注意:如果指定的文件不存在,这将是创建。
例如
相关文章
- 碧蓝航线的里雅斯特期待的便当时间皮肤有什么 04-30
- 明日之后踏浪逐星服装展示攻略 04-30
- 深空之眼幽月塞勒涅刻印搭配核心思路 04-30
- 明日之后红杉茶会护卫队首领BOSS有哪些 04-30
- CF手游段位奖励汇总攻略 04-30
- 无期迷途5-13怎么走攻略 04-30