/PHP-7.1/ext/standard/tests/file/ |
H A D | symlink_link_linkinfo_is_link_variation9.phpt | 47 $s1 = lstat($soft_link); 49 echo "lstat() returns lstat['dev'] as $s1[0]\n"; 62 $s1 = lstat($hard_link); 64 echo "lstat() returns lstat['dev'] as $s1[0]\n"; 79 $s1 = lstat($soft_link); 81 echo "lstat() returns lstat['dev'] as $s1[0]\n"; 101 *** Checking lstat() on soft link *** 104 lstat() returns lstat['dev'] as %d 106 linkinfo() value matches lstat['dev'] 111 lstat() returns lstat['dev'] as %d [all …]
|
H A D | lstat_stat_variation22.phpt | 2 Test lstat() and stat() functions: usage variations - invalid filenames 12 /* Prototype: array lstat ( string $filename ); 25 echo "*** testing lstat ***\n"; 26 var_dump(lstat(NULL)); 27 var_dump(lstat(false)); 28 var_dump(lstat('')); 29 var_dump(lstat(' ')); 30 var_dump(lstat('|')); 44 *** testing lstat *** 49 Warning: lstat(): Lstat failed for in %s on line %d [all …]
|
H A D | lstat_stat_error.phpt | 2 Test lstat() and stat() functions: error conditions 6 die('skip.. lstat() not available on Windows'); 11 /* Prototype: array lstat ( string $filename ); 18 echo "*** Testing lstat() for error conditions ***\n"; 20 var_dump( lstat() ); // args < expected 21 var_dump( lstat(__FILE__, 2) ); // args > expected 23 var_dump( lstat(22) ); // scalar argument 25 var_dump( lstat($arr) ); // array argument 40 *** Testing lstat() for error conditions *** 48 Warning: lstat(): Lstat failed for %s in %s on line %d [all …]
|
H A D | lstat_stat_variation15.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of link 7 die('skip.. lstat() not available on Windows'); 12 /* Prototype: array lstat ( string $filename ); 33 // checking lstat() and stat() on links 34 echo "*** Testing lstat() on a link after changing its access permission ***\n"; 36 $old_stat = lstat($linkname); 41 $new_stat = lstat($linkname); 57 *** Testing lstat() on a link after changing its access permission ***
|
H A D | lstat_stat_variation14.phpt | 2 Test lstat() and stat() functions: usage variations - hardlink 6 die('skip.. lstat() not available on Windows'); 11 /* Prototype: array lstat ( string $filename ); 29 echo "*** Checking lstat() and stat() on hard link ***\n"; 37 $link_stat = lstat($linkname); 55 *** Checking lstat() and stat() on hard link ***
|
H A D | lstat_stat_variation3.phpt | 2 Test lstat() and stat() functions: usage variations - effects of rename() on link 11 /* Prototype: array lstat ( string $filename ); 31 echo "*** Testing lstat() for link after being renamed ***\n"; 34 $old_stat = lstat($old_linkname); 37 $new_stat = lstat($new_linkname); 57 *** Testing lstat() for link after being renamed ***
|
H A D | lstat_stat_variation12.phpt | 2 Test lstat() and stat() functions: usage variations - effects of is_link() 7 die('skip.. lstat() not available on Windows'); 12 /* Prototype: array lstat ( string $filename ); 36 $old_stat = lstat($linkname); 41 $new_stat = lstat($linkname);
|
H A D | lstat_stat_variation17.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir 12 /* 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 ***
|
H A D | lstat_stat_variation6.phpt | 2 Test lstat() and stat() functions: usage variations - effects of touch() on link 20 /* Prototype: array lstat ( string $filename ); 42 echo "*** Testing lstat() for link after using touch() on the link ***\n"; 43 $old_stat = lstat($link_name); 72 *** Testing lstat() for link after using touch() on the link ***
|
H A D | lstat_stat_variation16.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of file 12 /* 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 ***
|
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_variation20.phpt | 2 Test lstat() and stat() functions: usage variations - link names stored in array/object 6 die('skip.. lstat() not available on Windows'); 11 /* Prototype: array lstat ( string $filename ); 29 echo "*** Testing lstat() with linkname stored inside an object/array ***\n"; 47 echo "\n-- Testing lstat() on link name stored inside an object --\n"; 48 var_dump( lstat($link_object->var_name) ); 64 *** Testing lstat() with linkname stored inside an object/array *** 66 -- Testing lstat() on link name stored inside an object --
|
H A D | lstat_stat_basic.phpt | 2 Test lstat() & stat() functions: basic functionality 7 die('skip.. lstat() not available on Windows'); 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 | symlink_link_linkinfo_is_link_variation3.phpt | 42 $link_stat = lstat($linkname); // lstat of link 57 // taking lstat of symlink 58 $stat = lstat($linkname); 79 // taking lstat of symlink 80 $stat = lstat($linkname); 101 // taking lstat of symlink 102 $stat = lstat($linkname);
|
H A D | lstat_stat_variation10.phpt | 2 Test lstat() and stat() functions: usage variations - effects of is_dir() 12 /* 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 11 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation11.phpt | 2 Test lstat() and stat() functions: usage variations - effect of is_file() 12 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation13.phpt | 2 Test lstat() and stat() functions: usage variations - file opened using w and r mode 12 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation2.phpt | 2 Test lstat() and stat() functions: usage variations - effects of rename() on dir 11 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation4.phpt | 2 Test lstat() and stat() functions: usage variations - effects of touch() on file 12 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation7.phpt | 2 Test lstat() and stat() functions: usage variations - writing data into file 11 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation21.phpt | 2 Test lstat() and stat() functions: usage variations - effects of truncate() 12 /* Prototype: array lstat ( string $filename );
|
H A D | lstat_stat_variation5.phpt | 2 Test lstat() and stat() functions: usage variations - effects of touch() on dir 13 /* Prototype: array lstat ( string $filename );
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_lstat.phpt | 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 …]
|
/PHP-7.1/ext/zlib/tests/ |
H A D | zlib_scheme_stat_basic.phpt | 14 lstat($srcFile); 20 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
|