bool is_executable
Returns true if the filename exists and is executable.
The results of this function are cached. See clearstatecache() for more details.
See also is_file() and is_link().