← All docs

stat()

Gives information about a file.

stat()

function stat(string $filename): mixed

Gives information about a file.

Parameters:

  • $filename (string)

Returns: mixed

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

Internals

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