update : 2015.11.03
php.shukuma.com검색:
|
touch(PHP 4, PHP 5, PHP 7) touch — Sets access and modification time of file 설명
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. 인수
반환값
성공 시 변경점
예제
Example #1 touch() example
<?php
Example #2 touch() using the
<?php 주의
Warning
Prior to PHP 5.3.0 it was not possible to change the modification time of a directory with this function under Windows. |