Complete PHP Filesystem Reference
The is_executable() function checks whether the specified file is executable.
This function returns TRUE if the file is executable.
| Parameter | Description |
|---|---|
| file | Required. Specifies the file to check |
Note: The result of this function are cached. Use clearstatcache() to clear the cache.
Note: The is_executable() function became available with Windows in PHP 5.0
The output of the code above could be:
Complete PHP Filesystem Reference
Your message has been sent to W3Schools.