Searched refs:is_executable (Results 1 – 25 of 32) sorted by relevance
12
2 Test is_executable() function: error conditions5 /* Prototype: bool is_executable ( string $filename );9 echo "*** Testing is_executable(): error conditions ***\n";10 var_dump( is_executable() ); // args < expected no of arguments12 var_dump( is_executable(1, 2) ); // args > expected no. of arguments15 var_dump( is_executable(dirname(__FILE__)."/is_executable") );19 *** Testing is_executable(): error conditions ***21 Warning: is_executable() expects exactly 1 parameter, 0 given in %s on line %d24 Warning: is_executable() expects exactly 1 parameter, 2 given in %s on line %d
2 Test is_executable() function: usage variations - invalid file names21 /* Prototype: bool is_executable ( string $filename );25 /* test is_executable() with invalid arguments */27 echo "*** Testing is_executable(): usage variations ***\n";32 echo "\n*** Testing is_executable() on invalid files ***\n";47 var_dump( is_executable($invalid_file) );54 *** Testing is_executable(): usage variations ***56 *** Testing is_executable() on invalid files ***65 Warning: is_executable() expects parameter 1 to be a valid path, array given in %s on line %d
2 Test is_executable() function: usage variations - file/dir with diff. perms21 /* Prototype: bool is_executable ( string $filename );25 /* test is_executable() with file/dir having different permissions */28 echo "*** Testing is_executable(): usage variations ***\n";33 echo "\n*** Testing is_executable() on directory without execute permission ***\n";35 var_dump( is_executable("$file_path/is_executable_variation2") ); // exp: bool(false)38 echo "\n*** Testing miscelleneous input for is_executable() function ***\n";68 var_dump( is_executable($file) );84 *** Testing is_executable(): usage variations ***86 *** Testing is_executable() on directory without execute permission ***[all …]
2 Test is_executable() function: usage variations - diff. path notations11 /* 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 %d84 Warning: is_executable() expects parameter 1 to be a valid path, string given in %s on line %d
9 'is_executable',
24 /* test is_executable() with invalid arguments */
24 /* test is_executable() with file/dir having different permissions */
27 /* test is_executable() with file/dir having different permissions */
2 Test is_executable() function: basic functionality11 /* Prototype: bool is_executable ( string $filename );16 echo "*** Testing is_executable(): basic functionality ***\n";19 $filename = dirname(__FILE__)."/私はガラスを食べられますis_executable.tmp";24 using is_executable() */28 var_dump( is_executable($filename) );39 *** Testing is_executable(): basic functionality ***
2 Test is_executable() function: basic functionality11 /* Prototype: bool is_executable ( string $filename );16 echo "*** Testing is_executable(): basic functionality ***\n";19 $filename = dirname(__FILE__)."/is_executable.tmp";24 using is_executable() */28 var_dump( is_executable($filename) );39 *** Testing is_executable(): basic functionality ***
2 Test is_executable() function: basic functionality21 /* Prototype: bool is_executable ( string $filename );28 echo "*** Testing is_executable(): basic functionality ***\n";31 $filename = dirname(__FILE__)."/is_executable.tmp";36 using is_executable() */40 var_dump( is_executable($filename) );51 *** Testing is_executable(): basic functionality ***
77 if (is_executable('test.file')) {
9 test_open_basedir_before("is_executable");10 test_open_basedir_error("is_executable");12 var_dump(is_executable("ok.txt"));13 var_dump(is_executable("../ok/ok.txt"));14 var_dump(is_executable($initdir."/test/ok/ok.txt"));15 var_dump(is_executable($initdir."/test/ok/../ok/ok.txt"));17 test_open_basedir_after("is_executable");25 *** Testing open_basedir configuration [is_executable] ***38 Warning: is_executable(): open_basedir restriction in effect. File(..) is not within the allowed pa…44 Warning: is_executable(): open_basedir restriction in effect. File(/) is not within the allowed pat…[all …]
2 bug #44859 (incorrect result with NTFS ACL permissions, is_executable)25 if (is_executable($path) == $exp) {28 var_dump(is_executable($path), $exp);
10 if (file_exists($php) && is_executable($php)) {28 …if (is_dir($php_path) && file_exists("$php_path/php-cgi.exe") && is_executable("$php_path/php-cgi.…41 …if ($php_path && is_dir($php_path) && file_exists($php_path."/cgi/php-cgi") && is_executable($php_…
6 if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST…
7 if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST…
5 if (!is_executable("/bin/cat")) echo "skip";
4 <?php if (!is_executable('/bin/cat')) echo 'skip cat not found'; ?>
5 if (!is_executable('/bin/cat')) echo 'skip cat not found';
6 if (!is_executable('/bin/sleep')) echo 'skip sleep not found';
5 if (!is_executable('/bin/sleep')) echo 'skip no sleep';
47 echo "is_executable\n";48 var_dump(is_executable("dir/file1.txt"));210 is_executable
41 PHP_FUNCTION(is_executable);
196 if (file_exists($phpPath."/fpm/php-fpm") && is_executable($phpPath."/fpm/php-fpm")) {201 if (file_exists($phpSbinFpmi) && is_executable($phpSbinFpmi)) {208 if (file_exists($fpmPath) && is_executable($fpmPath)) {
Completed in 45 milliseconds