search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

Programming Dictionary

Online technical manual for service programmers
Popular searches:
Dictionary homepage Server PHP php is_executable() function
php is_executable() function Detailed instructions for use

php is_executable() function

Chinese translation Recent Updates: 2018-04-19 09:45:01

英 [ɪgˈzekjətəbl]

adj. Executable; executable, executable

php is_executable() function syntax

Function: Check whether the specified file is executable.

Syntax: is_executable(file)

Parameters:

Parameter Description
file Required. Specifies the documents to be checked.

Description: Returns true if the file exists and is executable.

php is_executable() function example

<?php
$file = is_executable("./test.txt");
if($file == 1)
{
    echo "该文件是可执行的";
}else{
    echo "该文件不可执行";
}
?>
php is_executable() function