Searched refs:lstat (Results 1 – 25 of 42) sorted by path
12
143 # define php_sys_lstat lstat321 #define VCWD_LSTAT(path, buff) lstat(path, buff)
1996 - * On 4.2BSD and similar systems, use lstat() to identify symlinks.2000 - ret = lstat(fn, sb);
1037 PHAR_INTERCEPT(lstat); in phar_intercept_functions_init()1073 PHAR_RELEASE(lstat); in phar_intercept_functions_shutdown()
23 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile)
21 echo "lstat\n";22 var_dump(lstat("dir/file1.txt"));131 lstat
190 …if(PG(open_basedir) && lstat(buf, &sbuf) == 0 && S_ISLNK(sbuf.st_mode) && php_check_open_basedir(b… in ps_files_open()
3272 PHP_NAMED_FE(lstat, php_if_lstat, arginfo_lstat)
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";
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
11 // Check lstat on a Windows junction to ensure that st_mode is zero21 $stat = lstat($junction);
575 Compares two stat values, stat value should be obtained by stat/lstat
2 Test lstat() & stat() functions: basic functionality12 /* Prototype: array lstat ( string $filename );22 echo "*** Testing lstat() & stat() : basic functionality ***\n";51 $link_stat = lstat($sym_linkname);59 echo "*** Testing stat() and lstat() : validating the values stored in stat ***\n";71 echo "*** Testing stat() and lstat() : comparing stats (recorded before and after file/link creatio…89 *** Testing lstat() & stat() : basic functionality ***90 *** Testing stat() and lstat() : validating the values stored in stat ***96 *** Testing stat() and lstat() : comparing stats (recorded before and after file/link creation) ***
2 Test lstat() and stat() functions: error conditions5 /* Prototype: array lstat ( string $filename );12 echo "*** Testing lstat() for error conditions ***\n";14 var_dump( lstat() ); // args < expected15 var_dump( lstat(__FILE__, 2) ); // args > expected16 var_dump( lstat("$file_path/temp.tmp") ); // non existing file17 var_dump( lstat(22) ); // scalar argument19 var_dump( lstat($arr) ); // array argument34 *** Testing lstat() for error conditions ***42 Warning: lstat(): Lstat failed for %s in %s on line %d[all …]
2 Test lstat() and stat() functions: usage variations - effects of rename() on file5 /* Prototype: array lstat ( string $filename );
2 Test lstat() and stat() functions: usage variations - effects of is_dir()9 /* Prototype: array lstat ( string $filename );
2 Test lstat() and stat() functions: usage variations - effect of is_file()9 /* Prototype: array lstat ( string $filename );
2 Test lstat() and stat() functions: usage variations - effects of is_link()13 /* Prototype: array lstat ( string $filename );37 $old_stat = lstat($linkname);42 $new_stat = lstat($linkname);
2 Test lstat() and stat() functions: usage variations - file opened using w and r mode9 /* Prototype: array lstat ( string $filename );
2 Test lstat() and stat() functions: usage variations - hardlink5 /* Prototype: array lstat ( string $filename );23 echo "*** Checking lstat() and stat() on hard link ***\n";31 $link_stat = lstat($linkname);49 *** Checking lstat() and stat() on hard link ***
2 Test lstat() and stat() functions: usage variations - effects changing permissions of link13 /* Prototype: array lstat ( string $filename );34 // checking lstat() and stat() on links35 echo "*** Testing lstat() on a link after changing its access permission ***\n";37 $old_stat = lstat($linkname);42 $new_stat = lstat($linkname);58 *** Testing lstat() on a link after changing its access permission ***
2 Test lstat() and stat() functions: usage variations - effects changing permissions of file12 /* Prototype: array lstat ( string $filename );29 echo "*** Testing lstat() on a file after changing its access permission ***\n";51 *** Testing lstat() on a file after changing its access permission ***
2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir12 /* Prototype: array lstat ( string $filename );25 echo "*** Testing lstat() on a dir after changing its access permission ***\n";50 *** Testing lstat() on a dir after changing its access permission ***
2 Test lstat() and stat() functions: usage variations - dir/file name stored in object5 /* Prototype: array lstat ( string $filename );
2 Test lstat() and stat() functions: usage variations - dir/file names in array5 /* Prototype: array lstat ( string $filename );
Completed in 78 milliseconds