Searched refs:is_file (Results 1 – 25 of 55) sorted by relevance
123
/php-src/ext/standard/tests/file/ |
H A D | is_file_basic.phpt | 2 Test is_file() function: basic functionality 5 echo "*** Testing is_file(): basic functionality ***\n"; 8 var_dump( is_file(__FILE__) ); 11 var_dump( is_file(__DIR__) ); 16 var_dump( is_file($file_name) ); 19 var_dump( is_file($file_name) ); 21 echo "*** Testing is_file() for its return value type ***\n"; 22 var_dump( is_bool( is_file(__FILE__) ) ); 23 var_dump( is_bool( is_file("/no/such/file") ) ); 34 *** Testing is_file(): basic functionality *** [all …]
|
H A D | is_file_variation1.phpt | 2 Test is_file() function: usage variations - diff. files 5 /* Testing is_file() with file containing data, truncating its size 10 echo "-- Testing is_file() with file containing data --\n"; 15 var_dump( is_file($filename) ); 18 echo "\n-- Testing is_file() after truncating filesize to zero bytes --\n"; 22 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true 26 echo "\n-- Testing is_file() with an empty file --\n"; 29 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true 42 -- Testing is_file() with file containing data -- 45 -- Testing is_file() after truncating filesize to zero bytes -- [all …]
|
H A D | is_file_variation2.phpt | 2 Test is_file() function: usage variations - links 11 /* Creating soft and hard links to a file and applying is_file() on links */ 16 echo "*** Testing is_file() with links ***\n"; 19 var_dump( is_file($file_path."/is_file_variation2_symlink.tmp") ); //expected true 24 var_dump( is_file($file_path."/is_file_variation2_link.tmp") ); // expected: true 37 *** Testing is_file() with links ***
|
H A D | lstat_stat_variation11.phpt | 2 Test lstat() and stat() functions: usage variations - effect of is_file() 12 /* test the effects of is_file() on stats of a file */ 19 // is_file() on a file 20 echo "*** Testing stat() on a file after using is_file() on it ***\n"; 25 var_dump( is_file($filename) ); 43 *** Testing stat() on a file after using is_file() on it ***
|
H A D | stat_variation4-win32.phpt | 2 Test stat() functions: usage variations - effects of is_dir() & is_file() 12 /* test the effects on the stats of dir/file for using is_dir() & is_file() on dir/file */ 26 with is_dir() and is_file() functions ***\n"; 47 // is_file() on a file 54 var_dump( is_file($old_filename) ); 74 with is_dir() and is_file() functions ***
|
H A D | is_file_variation4.phpt | 2 Test is_file() function: usage variations - diff. path notations (Bug #42027) 9 echo "*** Testing is_file() with different notations of file names ***\n"; 25 "is_file_variation4/is_file*.tmp", 37 var_dump( is_file( $file_path."/".$file ) ); 55 *** Testing is_file() with different notations of file names ***
|
H A D | bug75679.phpt | 17 if (copy (__FILE__, $file) && is_file ($file)) 38 if (is_file($file)) {
|
H A D | copy_variation13.phpt | 20 var_dump( is_file($dir) ); 23 var_dump( is_file($file) );
|
H A D | bug78296.phpt | 2 Bug #78296 (is_file fails to detect file)
|
H A D | 003.phpt | 10 'is_file',
|
H A D | copy_variation11.phpt | 31 var_dump( is_file($file) ); //expected: bool(true) 34 var_dump( is_file($dir) ); //expected: bool(false)
|
H A D | copy_variation7.phpt | 37 var_dump( is_file($file_path."/copy_copy_variation7_symlink.tmp") ); 45 var_dump( is_file($file_path."/copy_copy_variation7_hardlink.tmp") );
|
/php-src/tests/security/ |
H A D | open_basedir_is_file.phpt | 8 test_open_basedir("is_file"); 16 *** Testing open_basedir configuration [is_file] *** 23 Warning: is_file(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 26 Warning: is_file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allo… 29 Warning: is_file(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 32 Warning: is_file(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 35 Warning: is_file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 38 Warning: is_file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed pa… 41 Warning: is_file(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the… 47 Warning: is_file(): open_basedir restriction in effect. File(./../.) is not within the allowed path… [all …]
|
/php-src/ext/phar/tests/ |
H A D | stat2_5.3.phpt | 2 Phar: test stat function interceptions and is_file/is_link edge cases (PHP 5.3+) 11 var_dump(is_file(__FILE__)); 22 var_dump(is_link("./stat.php"),is_file("./stat.php"), is_link("./oops"), is_file("./oops")); 23 var_dump(is_link("testit/link"), filetype("testit/link"), filetype("testit"), is_file("testit/link"… 27 var_dump(is_dir("./bar"), is_file("foo/bar/blah"));
|
H A D | bug52013.phpt | 30 if (is_file(__DIR__ . '/testdir/1.php')) 34 if (is_file(__DIR__ . '/compressed.phar'))
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionFunction_isDisabled_basic.phpt | 7 disable_functions=is_file 11 $rf = new ReflectionFunction('is_file'); 21 Function is_file() does not exist
|
/php-src/ext/zip/tests/ |
H A D | bug_gh8781.phpt | 8 var_dump(is_file($file)); 14 var_dump(is_file($file));
|
H A D | bug14962.phpt | 16 if (!is_file($dir . "/__14962.zip")) { 24 if (is_file($fullpath)) {
|
H A D | bug80863.phpt | 28 var_dump(is_file("$target/file1.txt")); 29 var_dump(is_file("$target/file2.txt"));
|
/php-src/ext/zlib/tests/ |
H A D | zlib_scheme_stat_basic2.phpt | 11 echo "is_file="; 12 var_dump(is_file($srcFile)); 28 is_file=bool(false)
|
/php-src/ext/session/tests/ |
H A D | bug61470.phpt | 15 var_dump(is_file($file1)); 20 var_dump(is_file($file2));
|
/php-src/ext/standard/tests/file/windows_links/ |
H A D | bug48746_1.phpt | 37 var_dump(is_file("mklink_junction\\a.php")); 38 var_dump(is_file("$fullpath\\mnt\\test\\directory\\b.php")); 39 var_dump(is_file("$fullpath\\mnt\\test\\mklink_junction\\c.php"));
|
/php-src/ext/curl/tests/ |
H A D | bug48207.phpt | 47 is_file($tempfile) and @unlink($tempfile); 48 isset($tempname) and is_file($tempname) and @unlink($tempname);
|
/php-src/ext/phar/tests/tar/ |
H A D | tar_003.phpt | 35 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n"); 44 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n");
|
/php-src/ext/opcache/tests/ |
H A D | bug74663.phpt | 19 var_dump(is_file($file));
|
Completed in 14 milliseconds
123