← All docs

filemtime()

Gets file modification time.

filemtime()

function filemtime(string $filename): mixed

Gets file modification time.

Parameters:

  • $filename (string)

Returns: mixed

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how filemtime is implemented in the compiler, see the internals page.