Home
last modified time | relevance | path

Searched refs:is_executable (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.0/tests/security/
H A Dopen_basedir_is_executable.phpt9 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 …]
/PHP-8.0/ext/standard/tests/file/
H A Dis_executable_variation3.phpt2 Test is_executable() function: usage variations - invalid file names
12 /* test is_executable() with invalid arguments */
14 echo "*** Testing is_executable(): usage variations ***\n";
19 echo "\n*** Testing is_executable() on invalid files ***\n";
33 var_dump( is_executable($invalid_file) );
40 *** Testing is_executable(): usage variations ***
42 *** Testing is_executable() on invalid files ***
H A Dis_executable_variation2.phpt2 Test is_executable() function: usage variations - file/dir with diff. perms
12 /* test is_executable() with file/dir having different permissions */
15 echo "*** Testing is_executable(): usage variations ***\n";
20 echo "\n*** Testing is_executable() on directory without execute permission ***\n";
22 var_dump( is_executable("$file_path/is_executable_variation2") ); // exp: bool(false)
25 echo "\n*** Testing miscellaneous input for is_executable() function ***\n";
55 var_dump( is_executable($file) );
71 *** Testing is_executable(): usage variations ***
73 *** Testing is_executable() on directory without execute permission ***
76 *** Testing miscellaneous input for is_executable() function ***
H A Dis_executable_error.phpt2 Test is_executable() function: error conditions
6 var_dump( is_executable(__DIR__."/is_executable") );
H A Dis_executable_variation1.phpt2 Test is_executable() function: usage variations - diff. path notations
11 /* test is_executable() with file having different filepath notation */
14 echo "*** Testing is_executable(): usage variations ***\n";
24 using is_executable() function */
51 var_dump( is_executable($file) );
67 *** Testing is_executable(): usage variations ***
H A D003.phpt9 'is_executable',
H A Dis_readable_variation3.phpt9 /* test is_executable() with invalid arguments */
H A Dis_readable_variation2.phpt12 /* test is_executable() with file/dir having different permissions */
H A Dis_writable_variation2.phpt12 /* test is_executable() with file/dir having different permissions */
H A Dis_executable_basic-win32-mb.phpt2 Test is_executable() function: basic functionality
13 echo "*** Testing is_executable(): basic functionality ***\n";
16 $filename = __DIR__."/私はガラスを食べられますis_executable.tmp";
21 using is_executable() */
25 var_dump( is_executable($filename) );
36 *** Testing is_executable(): basic functionality ***
H A Dis_executable_basic-win32.phpt2 Test is_executable() function: basic functionality
13 echo "*** Testing is_executable(): basic functionality ***\n";
16 $filename = __DIR__."/is_executable.tmp";
21 using is_executable() */
25 var_dump( is_executable($filename) );
36 *** Testing is_executable(): basic functionality ***
H A Dis_executable_basic.phpt2 Test is_executable() function: basic functionality
15 echo "*** Testing is_executable(): basic functionality ***\n";
18 $filename = __DIR__."/is_executable.tmp";
23 using is_executable() */
27 var_dump( is_executable($filename) );
38 *** Testing is_executable(): basic functionality ***
H A D001.phpt77 if (is_executable('test.file')) {
/PHP-8.0/ext/standard/tests/file/windows_acls/
H A Dbug44859_3.phpt2 bug #44859 (incorrect result with NTFS ACL permissions, is_executable)
25 if (is_executable($path) == $exp) {
28 var_dump(is_executable($path), $exp);
/PHP-8.0/sapi/cgi/tests/
H A Dinclude.inc10 if (file_exists($php) && is_executable($php)) {
27 if (is_executable($cgi_path)) {
33 if (is_executable($cgi_path)) {
39 if (is_executable($cgi_path)) {
/PHP-8.0/ext/pcntl/tests/
H A Dpcntl_exec.phpt6 if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST…
H A Dpcntl_exec_2.phpt7 if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST…
/PHP-8.0/ext/standard/tests/general_functions/
H A Dproc_open.phpt5 if (!is_executable("/bin/cat")) echo "skip";
H A Dbug44667.phpt4 <?php if (!is_executable('/bin/cat')) echo 'skip cat not found'; ?>
H A Dbug34794.phpt5 if (!is_executable('/bin/cat')) echo 'skip cat not found';
H A Dbug39322.phpt6 if (!is_executable('/bin/sleep')) echo 'skip sleep not found';
H A Dproc_open02.phpt5 if (!is_executable('/bin/sleep')) echo 'skip no sleep';
/PHP-8.0/ext/phar/tests/
H A Dstat.phpt47 echo "is_executable\n";
48 var_dump(is_executable("dir/file1.txt"));
209 is_executable
/PHP-8.0/ext/phar/
H A Dfunc_interceptors.c1024 PHAR_INTERCEPT(is_executable); in phar_intercept_functions_init()
1060 PHAR_RELEASE(is_executable); in phar_intercept_functions_shutdown()
/PHP-8.0/sapi/fpm/tests/
H A Dtester.inc216 … if (file_exists($phpPath . "/fpm/php-fpm") && is_executable($phpPath . "/fpm/php-fpm")) {
221 if (file_exists($phpSbinFpmi) && is_executable($phpSbinFpmi)) {
228 if (file_exists($fpmPath) && is_executable($fpmPath)) {

Completed in 46 milliseconds

12