note 115291 added to splfileinfo.getctime
| From: | michael at smith-li dot com | Date: | Mon, 30 Jun 2014 19:29:58 +0000 |
| Subject: | note 115291 added to splfileinfo.getctime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199783@lists.php.net to get a copy of this message | ||
A file's ctime is it's inode change time. The inode changes when file metadata changes
(for example when file permissions change). The inode also changes whenever the file's contents
change, but since the inode changes for other reasons, it's more accurate to use mtime to get
the age of the contents of a file. See SPLFileInfo::getMTime
Also, please note ctime is not creation time. (Most UNIX-like filesystems do not record a
file's creation time.)
----
Server IP: 72.52.91.14
Probable Submitter: 208.247.73.130
----
Manual Page -- http://php.net/manual/en/splfileinfo.getctime.php
Edit -- https://master.php.net/note/edit/115291
Del: integrated -- https://master.php.net/note/delete/115291/integrated
Del: useless -- https://master.php.net/note/delete/115291/useless
Del: bad code -- https://master.php.net/note/delete/115291/bad+code
Del: spam -- https://master.php.net/note/delete/115291/spam
Del: non-english -- https://master.php.net/note/delete/115291/non-english
Del: in docs -- https://master.php.net/note/delete/115291/in+docs
Del: other reasons-- https://master.php.net/note/delete/115291
Reject -- https://master.php.net/note/reject/115291
Search -- https://master.php.net/manage/user-notes.php