Home
last modified time | relevance | path

Searched refs:lstat (Results 1 – 25 of 44) sorted by relevance

12

/PHP-8.0/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation9.phpt12 /* Variation 9 : Check lstat of soft/hard link created
29 echo "*** Checking lstat() on soft link ***\n";
35 $s1 = lstat($soft_link);
45 echo "\n*** Checking lstat() on hard link ***\n";
50 $s1 = lstat($hard_link);
67 $s1 = lstat($soft_link);
93 *** Checking lstat() on soft link ***
97 linkinfo() value matches lstat['dev']
99 *** Checking lstat() on hard link ***
103 linkinfo() value matches lstat['dev']
[all …]
H A Dlstat_stat_variation22.phpt2 Test lstat() and stat() functions: usage variations - invalid filenames
22 echo "*** testing lstat ***\n";
23 var_dump(lstat(NULL));
24 var_dump(lstat(false));
25 var_dump(lstat(''));
26 var_dump(lstat(' '));
27 var_dump(lstat('|'));
40 *** testing lstat ***
45 Warning: lstat(): Lstat failed for in %s on line %d
48 Warning: lstat(): Lstat failed for | in %s on line %d
H A Dlstat_stat_error.phpt2 Test lstat() and stat() functions: error conditions
5 echo "*** Testing lstat() for error conditions ***\n";
7 var_dump( lstat("$file_path/temp.tmp") ); // non existing file
8 var_dump( lstat(22) ); // scalar argument
19 *** Testing lstat() for error conditions ***
21 Warning: lstat(): Lstat failed for %s in %s on line %d
24 Warning: lstat(): Lstat failed for 22 in %s on line %d
H A Dlstat_stat_variation15.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of link
27 // checking lstat() and stat() on links
28 echo "*** Testing lstat() on a link after changing its access permission ***\n";
30 $old_stat = lstat($linkname);
35 $new_stat = lstat($linkname);
51 *** Testing lstat() on a link after changing its access permission ***
H A Dlstat_stat_variation3.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on link
25 echo "*** Testing lstat() for link after being renamed ***\n";
28 $old_stat = lstat($old_linkname);
31 $new_stat = lstat($new_linkname);
50 *** Testing lstat() for link after being renamed ***
H A Dlstat_stat_variation14.phpt2 Test lstat() and stat() functions: usage variations - hardlink
16 echo "*** Checking lstat() and stat() on hard link ***\n";
24 $link_stat = lstat($linkname);
42 *** Checking lstat() and stat() on hard link ***
H A D001.phpt50 $ls = lstat ('test.file');
53 echo "test.file lstat and stat differ at element $i\n";
57 $ls = lstat ('test.link');
60 if ($i != 6 && $i != 10 && $i != 11) echo "test.link lstat and stat differ at element $i\n";
128 test.link lstat and stat differ at element 1
129 test.link lstat and stat differ at element 2
130 test.link lstat and stat differ at element 7
131 test.link lstat and stat differ at element 8
132 test.link lstat and stat differ at element 9
H A Dsymlink_link_linkinfo_is_link_variation3.phpt30 $link_stat = lstat($linkname); // lstat of link
45 // taking lstat of symlink
46 $stat = lstat($linkname);
67 // taking lstat of symlink
68 $stat = lstat($linkname);
89 // taking lstat of symlink
90 $stat = lstat($linkname);
H A Dlstat_stat_variation6.phpt2 Test lstat() and stat() functions: usage variations - effects of touch() on link
36 echo "*** Testing lstat() for link after using touch() on the link ***\n";
37 $old_stat = lstat($link_name);
66 *** Testing lstat() for link after using touch() on the link ***
H A Dlstat_stat_variation17.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir
18 echo "*** Testing lstat() on a dir after changing its access permission ***\n";
43 *** Testing lstat() on a dir after changing its access permission ***
H A Dlstat_stat_variation16.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of file
22 echo "*** Testing lstat() on a file after changing its access permission ***\n";
44 *** Testing lstat() on a file after changing its access permission ***
H A Dlstat_stat_variation12.phpt2 Test lstat() and stat() functions: usage variations - effects of is_link()
30 $old_stat = lstat($linkname);
35 $new_stat = lstat($linkname);
H A Dbug77552.phpt11 // Check lstat on a Windows junction to ensure that st_mode is zero
21 $stat = lstat($junction);
H A Dlstat_stat_basic.phpt2 Test lstat() & stat() functions: basic functionality
15 echo "*** Testing lstat() & stat() : basic functionality ***\n";
44 $link_stat = lstat($sym_linkname);
52 echo "*** Testing stat() and lstat() : validating the values stored in stat ***\n";
64 echo "*** Testing stat() and lstat() : comparing stats (recorded before and after file/link creatio…
82 *** Testing lstat() & stat() : basic functionality ***
83 *** Testing stat() and lstat() : validating the values stored in stat ***
89 *** Testing stat() and lstat() : comparing stats (recorded before and after file/link creation) ***
H A Dlstat_stat_variation20.phpt2 Test lstat() and stat() functions: usage variations - link names stored in array/object
23 echo "*** Testing lstat() with linkname stored inside an object/array ***\n";
41 echo "\n-- Testing lstat() on link name stored inside an object --\n";
42 var_dump( lstat($link_object->var_name) );
58 *** Testing lstat() with linkname stored inside an object/array ***
60 -- Testing lstat() on link name stored inside an object --
H A D001-win32-mb.phpt41 $ls = lstat ($fname);
44 echo "$fname lstat and stat differ at element $i\n";
H A Dlstat_stat_variation1.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on file
H A Dlstat_stat_variation11.phpt2 Test lstat() and stat() functions: usage variations - effect of is_file()
H A Dlstat_stat_variation2.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
H A Dlstat_stat_variation7.phpt2 Test lstat() and stat() functions: usage variations - writing data into file
H A D001-win32.phpt38 $ls = lstat ('test.file');
41 echo "test.file lstat and stat differ at element $i\n";
/PHP-8.0/tests/security/
H A Dopen_basedir_lstat.phpt8 test_open_basedir_array("lstat");
16 *** Testing open_basedir configuration [lstat] ***
23 Warning: lstat(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
26 Warning: lstat(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
29 Warning: lstat(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
32 Warning: lstat(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
35 Warning: lstat(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
38 Warning: lstat(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path…
41 Warning: lstat(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the a…
47 Warning: lstat(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
[all …]
/PHP-8.0/ext/zlib/tests/
H A Dzlib_scheme_stat_basic.phpt14 lstat($srcFile);
19 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
/PHP-8.0/ext/phar/tests/
H A Dpharfileinfo_chmod.phpt22 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile)
H A Dstat.phpt21 echo "lstat\n";
22 var_dump(lstat("dir/file1.txt"));
130 lstat

Completed in 35 milliseconds

12