/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1996 - * On 4.2BSD and similar systems, use lstat() to identify symlinks. 2000 - ret = lstat(fn, sb);
|
/PHP-7.4/main/ |
H A D | php.h | 110 # define lstat(x, y) php_sys_lstat(x, y) macro
|
/PHP-7.4/win32/ |
H A D | ioutil.h | 744 …32_ioutil_stat_ex_w(const wchar_t *path, size_t path_len, php_win32_ioutil_stat_t *buf, int lstat); 747 …line static int php_win32_ioutil_stat_ex(const char *path, php_win32_ioutil_stat_t *buf, int lstat) in php_win32_ioutil_stat_ex() argument 758 ret = php_win32_ioutil_stat_ex_w(pathw, pathw_len, buf, lstat); in php_win32_ioutil_stat_ex()
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | lstat_stat_variation20.phpt | 2 Test lstat() and stat() functions: usage variations - link names stored in array/object 12 /* Prototype: array lstat ( string $filename ); 30 echo "*** Testing lstat() with linkname stored inside an object/array ***\n"; 48 echo "\n-- Testing lstat() on link name stored inside an object --\n"; 49 var_dump( lstat($link_object->var_name) ); 65 *** Testing lstat() with linkname stored inside an object/array *** 67 -- Testing lstat() on link name stored inside an object --
|
H A D | symlink_link_linkinfo_is_link_variation3.phpt | 43 $link_stat = lstat($linkname); // lstat of link 58 // taking lstat of symlink 59 $stat = lstat($linkname); 80 // taking lstat of symlink 81 $stat = lstat($linkname); 102 // taking lstat of symlink 103 $stat = lstat($linkname);
|
H A D | symlink_link_linkinfo_is_link_variation9.phpt | 42 echo "*** Checking lstat() on soft link ***\n"; 48 $s1 = lstat($soft_link); 52 echo "\nlinkinfo() value matches lstat['dev']\n"; 58 echo "\n*** Checking lstat() on hard link ***\n"; 63 $s1 = lstat($hard_link); 80 $s1 = lstat($soft_link); 106 *** Checking lstat() on soft link *** 110 linkinfo() value matches lstat['dev'] 112 *** Checking lstat() on hard link *** 116 linkinfo() value matches lstat['dev'] [all …]
|
H A D | 001.phpt | 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 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 D | lstat_stat_basic.phpt | 2 Test lstat() & stat() functions: basic functionality 12 /* 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) ***
|
H A D | lstat_stat_variation18.phpt | 2 Test lstat() and stat() functions: usage variations - dir/file name stored in object 5 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation19.phpt | 2 Test lstat() and stat() functions: usage variations - dir/file names in array 5 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation14.phpt | 2 Test lstat() and stat() functions: usage variations - hardlink 5 /* 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 ***
|
H A D | lstat_stat_variation15.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of link 13 /* Prototype: array lstat ( string $filename ); 34 // checking lstat() and stat() on links 35 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 ***
|
H A D | lstat_stat_variation2.phpt | 2 Test lstat() and stat() functions: usage variations - effects of rename() on dir 5 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation1.phpt | 2 Test lstat() and stat() functions: usage variations - effects of rename() on file 5 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation10.phpt | 2 Test lstat() and stat() functions: usage variations - effects of is_dir() 9 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation11.phpt | 2 Test lstat() and stat() functions: usage variations - effect of is_file() 9 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation12.phpt | 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);
|
H A D | lstat_stat_variation13.phpt | 2 Test lstat() and stat() functions: usage variations - file opened using w and r mode 9 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation22.phpt | 2 Test lstat() and stat() functions: usage variations - invalid filenames 15 /* Prototype: array lstat ( string $filename ); 28 echo "*** testing lstat ***\n"; 29 var_dump(lstat(NULL)); 30 var_dump(lstat(false)); 31 var_dump(lstat('')); 32 var_dump(lstat(' ')); 33 var_dump(lstat('|')); 46 *** testing lstat *** 51 Warning: lstat(): Lstat failed for in %s on line %d [all …]
|
H A D | lstat_stat_variation7.phpt | 2 Test lstat() and stat() functions: usage variations - writing data into file 5 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation3.phpt | 2 Test lstat() and stat() functions: usage variations - effects of rename() on link 12 /* Prototype: array lstat ( string $filename ); 32 echo "*** Testing lstat() for link after being renamed ***\n"; 35 $old_stat = lstat($old_linkname); 38 $new_stat = lstat($new_linkname); 58 *** Testing lstat() for link after being renamed ***
|
H A D | lstat_stat_variation4.phpt | 2 Test lstat() and stat() functions: usage variations - effects of touch() on file 9 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation6.phpt | 2 Test lstat() and stat() functions: usage variations - effects of touch() on link 21 /* Prototype: array lstat ( string $filename ); 43 echo "*** Testing lstat() for link after using touch() on the link ***\n"; 44 $old_stat = lstat($link_name); 73 *** Testing lstat() for link after using touch() on the link ***
|
H A D | lstat_stat_error.phpt | 2 Test lstat() and stat() functions: error conditions 5 /* Prototype: array lstat ( string $filename ); 12 echo "*** Testing lstat() for error conditions ***\n"; 14 var_dump( lstat() ); // args < expected 15 var_dump( lstat(__FILE__, 2) ); // args > expected 16 var_dump( lstat("$file_path/temp.tmp") ); // non existing file 17 var_dump( lstat(22) ); // scalar argument 19 var_dump( lstat($arr) ); // array argument 34 *** Testing lstat() for error conditions *** 42 Warning: lstat(): Lstat failed for %s in %s on line %d [all …]
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 3272 PHP_NAMED_FE(lstat, php_if_lstat, arginfo_lstat)
|