How to use filectime function

藏色散人
Release: 2023-04-05 08:50:02
Original
2716 people have browsed it

php filectime() function is used to obtain the inode modification time of the file.

How to use filectime function

php filectime() function syntax

Function: Return the last inode modification time of the specified file

Syntax:

filectime(filename)
Copy after login

Parameters:

filename required. Specifies the documents to be checked.

Description: This function returns the last time the inode of the file was modified. Returns false if an error occurs. The time is returned as a Unix timestamp.

php filectime() function example

<?php
$file = filectime("./test.txt");
echo $file;
?>
Copy after login

This article is an introduction to the PHP filectime function. I hope it will be helpful to friends in need!

The above is the detailed content of How to use filectime function. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!