← All docs

filemtime()

Gets file modification time.

filemtime()

function filemtime(string $filename): mixed

Gets file modification time.

Parameters:

  • $filename (string)

Returns: mixed

Availability

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

Internals

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