bool is_executable ( string $filename )
Tells whether the filename is executable.
Returns TRUE if the filename exists and is executable, or FALSE on error.