Longhorn PHP 2025 - Speakers and Schedule Announced!

Voting

: max(three, one)?
(Example: nine)

The Note You're Voting On

_michael
15 years ago
While testing on Windows, I noticed that the precision of filemtime is just 1 second.

So if you use clearstatcache() and filemtime() to check if a file has been modified, it might fail to detect the change. The modifications just have to happen within less than a second.

(I ran into this with Apache on Windows XP.)

<< Back to user notes page

To Top