← All docs

filesize()

Gets file size.

filesize()

function filesize(string $filename): mixed

Gets file size.

Parameters:

  • $filename (string)

Returns: mixed

Availability

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

Internals

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