php is_executable 判断文件是可执行文件
is_executable
( PHP 4中, PHP 5中)
is_executable -告诉是否是可执行文件名
描述
布尔is_executable (字符串$文件名)
告诉是否filename是可执行文件。
参数
文件名
文件路径。
返回值
返回TRUE ,如果文件存在且可执行,或FALSE的错误。
修改
版本说明
5.0.0 is_executable ( )成为可与Windows
实例
例如# 1 is_executable ( )的例子
$file = '/home/vincent/somefile.sh';
if (is_executable($file)) {
echo $file.' is executable';
} else {
echo $file.' is not executable';
}
?>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

WebStorm Mac version
Useful JavaScript development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1
Powerful PHP integrated development environment
