← All docs

filemtime()

Gets file modification time.

filemtime()

function filemtime(string $filename): int

Gets file modification time.

Parameters:

  • $filename (string)

Returns: int

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

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