Searched refs:lstat (Results 1 – 25 of 44) sorted by relevance
12
12 /* Variation 9 : Check lstat of soft/hard link created29 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 …]
2 Test lstat() and stat() functions: usage variations - invalid filenames21 echo "*** testing lstat ***\n";22 var_dump(lstat(false));23 var_dump(lstat(''));24 var_dump(lstat(' '));25 var_dump(lstat('|'));37 *** testing lstat ***41 Warning: lstat(): Lstat failed for in %s on line %d44 Warning: lstat(): Lstat failed for | in %s on line %d
2 Test lstat() and stat() functions: error conditions5 echo "*** Testing lstat() for error conditions ***\n";7 var_dump( lstat("$file_path/temp.tmp") ); // non existing file8 var_dump( lstat(22) ); // scalar argument19 *** Testing lstat() for error conditions ***21 Warning: lstat(): Lstat failed for %s in %s on line %d24 Warning: lstat(): Lstat failed for 22 in %s on line %d
2 Test lstat() and stat() functions: usage variations - effects changing permissions of link27 // checking lstat() and stat() on links28 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 ***
2 Test lstat() and stat() functions: usage variations - effects of rename() on link25 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 ***
2 Test lstat() and stat() functions: usage variations - hardlink16 echo "*** Checking lstat() and stat() on hard link ***\n";24 $link_stat = lstat($linkname);42 *** Checking lstat() and stat() on hard link ***
50 $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 1129 test.link lstat and stat differ at element 2130 test.link lstat and stat differ at element 7131 test.link lstat and stat differ at element 8132 test.link lstat and stat differ at element 9
30 $link_stat = lstat($linkname); // lstat of link45 // taking lstat of symlink46 $stat = lstat($linkname);67 // taking lstat of symlink68 $stat = lstat($linkname);89 // taking lstat of symlink90 $stat = lstat($linkname);
2 Test lstat() and stat() functions: usage variations - effects of touch() on link36 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 ***
2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir18 echo "*** Testing lstat() on a dir after changing its access permission ***\n";43 *** Testing lstat() on a dir after changing its access permission ***
2 Test lstat() and stat() functions: usage variations - effects changing permissions of file22 echo "*** Testing lstat() on a file after changing its access permission ***\n";44 *** Testing lstat() on a file after changing its access permission ***
2 Test lstat() and stat() functions: usage variations - effects of is_link()30 $old_stat = lstat($linkname);35 $new_stat = lstat($linkname);
11 // Check lstat on a Windows junction to ensure that st_mode is zero21 $stat = lstat($junction);
2 Test lstat() & stat() functions: basic functionality15 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) ***
2 Test lstat() and stat() functions: usage variations - link names stored in array/object23 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 --
41 $ls = lstat ($fname);44 echo "$fname lstat and stat differ at element $i\n";
38 $ls = lstat ('test.file');41 echo "test.file lstat and stat differ at element $i\n";
2 Test lstat() and stat() functions: usage variations - effects of rename() on file
2 Test lstat() and stat() functions: usage variations - effect of is_file()
2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
2 Test lstat() and stat() functions: usage variations - writing data into file
8 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 …]
10 lstat($srcFile);15 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
22 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile)
27 echo "lstat\n";28 var_dump(lstat("dir/file1.txt"));136 lstat
Completed in 31 milliseconds