Home
last modified time | relevance | path

Searched refs:is_file (Results 1 – 25 of 52) sorted by last modified time

123

/PHP-7.4/
H A DNEWS1268 . Fixed bug #78296 (is_file fails to detect file). (cmb)
H A Drun-tests.php3513 if (is_file($file_name)) {
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc1089 if (!is_file($pidFile)) {
1438 if (is_file($accessLog)) {
/PHP-7.4/ext/standard/
H A Dfilestat.c1068 FileFunction(PHP_FN(is_file), FS_IS_FILE) in FileFunction()
H A Dbasic_functions.c3268 PHP_FE(is_file, arginfo_is_file)
H A Dphp_filestat.h40 PHP_FUNCTION(is_file);
/PHP-7.4/ext/zip/tests/
H A Dbug80863.phpt30 var_dump(is_file("$target/file1.txt"));
31 var_dump(is_file("$target/file2.txt"));
/PHP-7.4/ext/phar/tests/
H A Dphar_gobyebye-win32.phpt21 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
H A Dstat.phpt53 echo "is_file\n";
54 var_dump(is_file("dir/file1.txt"));
216 is_file
H A Dstat2_5.3.phpt2 Phar: test stat function interceptions and is_file/is_link edge cases (PHP 5.3+)
11 is_file();
13 var_dump(is_file(__FILE__));
24 var_dump(is_link("./stat.php"),is_file("./stat.php"), is_link("./oops"), is_file("./oops"));
25 var_dump(is_link("testit/link"), filetype("testit/link"), filetype("testit"), is_file("testit/link"…
29 var_dump(is_dir("./bar"), is_file("foo/bar/blah"));
42 Warning: is_file() expects exactly 1 parameter, 0 given in %sstat2_5.3.php on line %d
H A Dphar_gobyebye.phpt22 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
/PHP-7.4/ext/tidy/
H A Dtidy.c589 static void php_tidy_quick_repair(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_file) in php_tidy_quick_repair() argument
599 if (is_file) { in php_tidy_quick_repair()
669 if (is_file) { in php_tidy_quick_repair()
/PHP-7.4/scripts/dev/
H A Dbless_tests.php56 } else if (is_file($dirOrFile)) {
/PHP-7.4/ext/standard/tests/file/
H A D001.phpt82 if (is_file('test.file')) {
87 if (is_file('test.link')) {
H A Dlstat_stat_variation11.phpt2 Test lstat() and stat() functions: usage variations - effect of is_file()
19 /* test the effects of is_file() on stats of a file */
26 // is_file() on a file
27 echo "*** Testing stat() on a file after using is_file() on it ***\n";
32 var_dump( is_file($filename) );
50 *** Testing stat() on a file after using is_file() on it ***
H A Dis_file_variation3.phpt2 Test is_file() function: usage variations - invalid filenames
7 /* Prototype: bool is_file ( string $filename );
12 /* Testing is_file() with invalid arguments -int, float, bool, NULL, resource */
41 flatten($filename), @is_file($filename));
H A Dis_file_variation4.phpt2 Test is_file() function: usage variations - diff. path notations (Bug #42027)
5 /* Prototype: bool is_file ( string $filename );
14 echo "*** Testing is_file() with different notations of file names ***\n";
30 "is_file_variation4/is_file*.tmp",
41 var_dump( is_file( $file_path."/".$file ) );
56 *** Testing is_file() with different notations of file names ***
71 Warning: is_file() expects parameter 1 to be a valid path, string given in %s on line %d
75 Warning: is_file() expects parameter 1 to be a valid path, string given in %s on line %d
H A Dtouch_variation5-win32.phpt72 if (is_dir($path) || is_file($path)) {
H A Dtouch_variation5.phpt72 if (is_dir($path) || is_file($path)) {
H A Dtouch_variation6-win32.phpt78 if (is_dir($path) || is_file($path)) {
H A Dbug75679.phpt17 if (copy (__FILE__, $file) && is_file ($file))
39 if (is_file($file)) {
/PHP-7.4/win32/build/
H A Dmkdist.php138 } elseif (!is_file($source_dir . DIRECTORY_SEPARATOR . $item)) {
/PHP-7.4/ext/zlib/tests/
H A Dzlib_scheme_stat_basic2.phpt15 echo "is_file=";
16 var_dump(is_file($srcFile));
33 is_file=bool(false)
/PHP-7.4/ext/phar/tests/tar/
H A Dtar_003.phpt35 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n");
44 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n");
/PHP-7.4/tests/security/
H A Dopen_basedir_is_file.phpt8 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 …]

Completed in 60 milliseconds

123