Searched refs:is_executable (Results 1 – 25 of 31) sorted by path
12
/PHP-7.4/ext/pcntl/tests/ |
H A D | pcntl_exec.phpt | 6 if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST…
|
H A D | pcntl_exec_2.phpt | 7 if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST…
|
/PHP-7.4/ext/phar/ |
H A D | func_interceptors.c | 1036 PHAR_INTERCEPT(is_executable); in phar_intercept_functions_init() 1072 PHAR_RELEASE(is_executable); in phar_intercept_functions_shutdown()
|
H A D | phar_object.c | 1075 int is_executable; in PHP_METHOD() local 1082 is_executable = executable; in PHP_METHOD() 1083 …RETVAL_BOOL(phar_detect_phar_fname_ext(fname, fname_len, &ext_str, &ext_len, is_executable, 2, 1) … in PHP_METHOD()
|
/PHP-7.4/ext/phar/phar/ |
H A D | pharcommand.inc | 220 && is_executable($component . DIRECTORY_SEPARATOR . 'pear')) {
|
/PHP-7.4/ext/phar/tests/ |
H A D | stat.phpt | 47 echo "is_executable\n"; 48 var_dump(is_executable("dir/file1.txt")); 210 is_executable
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 3267 PHP_FE(is_executable, arginfo_is_executable)
|
H A D | filestat.c | 1063 FileFunction(PHP_FN(is_executable), FS_IS_X) in FileFunction()
|
H A D | php_filestat.h | 39 PHP_FUNCTION(is_executable);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | 001.phpt | 77 if (is_executable('test.file')) {
|
H A D | 003.phpt | 9 'is_executable',
|
H A D | is_executable_basic-win32-mb.phpt | 2 Test is_executable() function: basic functionality 11 /* Prototype: bool is_executable ( string $filename ); 16 echo "*** Testing is_executable(): basic functionality ***\n"; 19 $filename = __DIR__."/私はガラスを食べられますis_executable.tmp"; 24 using is_executable() */ 28 var_dump( is_executable($filename) ); 39 *** Testing is_executable(): basic functionality ***
|
H A D | is_executable_basic-win32.phpt | 2 Test is_executable() function: basic functionality 11 /* Prototype: bool is_executable ( string $filename ); 16 echo "*** Testing is_executable(): basic functionality ***\n"; 19 $filename = __DIR__."/is_executable.tmp"; 24 using is_executable() */ 28 var_dump( is_executable($filename) ); 39 *** Testing is_executable(): basic functionality ***
|
H A D | is_executable_basic.phpt | 2 Test is_executable() function: basic functionality 12 /* Prototype: bool is_executable ( string $filename ); 19 echo "*** Testing is_executable(): basic functionality ***\n"; 22 $filename = __DIR__."/is_executable.tmp"; 27 using is_executable() */ 31 var_dump( is_executable($filename) ); 42 *** Testing is_executable(): basic functionality ***
|
H A D | is_executable_error.phpt | 2 Test is_executable() function: error conditions 5 /* Prototype: bool is_executable ( string $filename ); 9 echo "*** Testing is_executable(): error conditions ***\n"; 10 var_dump( is_executable() ); // args < expected no of arguments 12 var_dump( is_executable(1, 2) ); // args > expected no. of arguments 15 var_dump( is_executable(__DIR__."/is_executable") ); 19 *** Testing is_executable(): error conditions *** 21 Warning: is_executable() expects exactly 1 parameter, 0 given in %s on line %d 24 Warning: is_executable() expects exactly 1 parameter, 2 given in %s on line %d
|
H A D | is_executable_variation1.phpt | 2 Test is_executable() function: usage variations - diff. path notations 11 /* Prototype: bool is_executable ( string $filename ); 15 /* test is_executable() with file having different filepath notation */ 18 echo "*** Testing is_executable(): usage variations ***\n"; 28 using is_executable() function */ 54 var_dump( is_executable($file) ); 67 *** Testing is_executable(): usage variations *** 80 Warning: is_executable() expects parameter 1 to be a valid path, string given in %s on line %d 84 Warning: is_executable() expects parameter 1 to be a valid path, string given in %s on line %d
|
H A D | is_executable_variation2.phpt | 2 Test is_executable() function: usage variations - file/dir with diff. perms 12 /* Prototype: bool is_executable ( string $filename ); 16 /* test is_executable() with file/dir having different permissions */ 19 echo "*** Testing is_executable(): usage variations ***\n"; 24 echo "\n*** Testing is_executable() on directory without execute permission ***\n"; 26 var_dump( is_executable("$file_path/is_executable_variation2") ); // exp: bool(false) 29 echo "\n*** Testing miscelleneous input for is_executable() function ***\n"; 59 var_dump( is_executable($file) ); 75 *** Testing is_executable(): usage variations *** 77 *** Testing is_executable() on directory without execute permission *** [all …]
|
H A D | is_executable_variation3.phpt | 2 Test is_executable() function: usage variations - invalid file names 12 /* Prototype: bool is_executable ( string $filename ); 16 /* test is_executable() with invalid arguments */ 18 echo "*** Testing is_executable(): usage variations ***\n"; 23 echo "\n*** Testing is_executable() on invalid files ***\n"; 38 var_dump( is_executable($invalid_file) ); 45 *** Testing is_executable(): usage variations *** 47 *** Testing is_executable() on invalid files *** 56 Warning: is_executable() expects parameter 1 to be a valid path, array given in %s on line %d
|
H A D | is_readable_variation2.phpt | 16 /* test is_executable() with file/dir having different permissions */
|
H A D | is_readable_variation3.phpt | 13 /* test is_executable() with invalid arguments */
|
H A D | is_writable_variation2.phpt | 18 /* test is_executable() with file/dir having different permissions */
|
/PHP-7.4/ext/standard/tests/file/windows_acls/ |
H A D | bug44859_3.phpt | 2 bug #44859 (incorrect result with NTFS ACL permissions, is_executable) 25 if (is_executable($path) == $exp) { 28 var_dump(is_executable($path), $exp);
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | bug34794.phpt | 5 if (!is_executable('/bin/cat')) echo 'skip cat not found';
|
H A D | bug39322.phpt | 6 if (!is_executable('/bin/sleep')) echo 'skip sleep not found';
|
H A D | bug44667.phpt | 4 <?php if (!is_executable('/bin/cat')) echo 'skip cat not found'; ?>
|
Completed in 55 milliseconds
12