← All docs

fileperms()

Gets file permissions.

fileperms()

function fileperms(string $filename): mixed

Gets file permissions.

Parameters:

  • $filename (string)

Returns: mixed

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

Internals

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