The is_executable() function checks whether the specified file is executable.This function returns TRUE if the file is executable.
bool is_executable ( string $filename )
Tells whether the filename is executable.
Parameter | Description |
---|---|
file | Required. Specifies the open file to check |
The result of this function are cached. Use clearstatcache() to clear the cache.The is_executable() function became available with Windows in PHP 5.0