← All docs

is_executable() — internals

Compiler internals for is_executable(): lowering path, type checks, and runtime helpers.

is_executable() — internals

Where it lives

Lowering notes

  • Lowers is_executable(path) through the target-aware runtime access helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_is_executable
  • __rt_is_link
  • __rt_path_is_wrapper
  • __rt_readfile

Signature summary

function is_executable(string $filename): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references