← All docs

is_executable()

Tells whether the filename is executable.

is_executable()

function is_executable(string $filename): bool

Tells whether the filename is executable.

Parameters:

  • $filename (string)

Returns: bool

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

Internals

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