is_executable

(PHP3 , PHP4 )

is_executable -- Tells whether the filename is executable

Description

bool is_executable (string filename)

Returns true if the filename exists and is executable.

The results of this function are cached. See clearstatcache() for more details.

See also is_file() and is_link().