Name
touch
Synopsis
bool touch(stringpath
[, inttime
])
Sets the modification date of path
to
time
(a Unix timestamp value). If not
specified, time
defaults to the current
time. If the file does not exist, it is created. Returns
true
if the function completed without error and
false
if an error occurred.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.