PHP » GoLang |
login |
register |
about
|
touch(PHP 4, PHP 5, PHP 7) touch — Sets access and modification time of file Description
bool touch
( string
$filename
[, int $time = time()
[, int $atime
]] )
Attempts to set the access and modification times of the file named in the
If the file does not exist, it will be created. Parameters
Return Values
Returns Changelog
Examples
Example #1 touch() example
<?php
Example #2 touch() using the
<?php Notes
Warning
Prior to PHP 5.3.0 it was not possible to change the modification time of a directory with this function under Windows. |
more
Recently updated
more
Most requested
more
Last requests
|