/PHP-8.1/tests/security/ |
H A D | open_basedir_is_link.phpt | 8 test_open_basedir("is_link"); 16 *** Testing open_basedir configuration [is_link] *** 23 Warning: is_link(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 26 Warning: is_link(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allo… 29 Warning: is_link(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 32 Warning: is_link(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 35 Warning: is_link(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 38 Warning: is_link(): open_basedir restriction in effect. File(../bad/.) is not within the allowed pa… 41 Warning: is_link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the… 47 Warning: is_link(): open_basedir restriction in effect. File(./../.) is not within the allowed path… [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | symlink_link_linkinfo_is_link_error2.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - link & is_link 28 echo "\n*** Testing is_link() for error conditions ***\n"; 31 var_dump( is_link('') ); // empty string as linkname 32 var_dump( is_link(' ') ); // space as linkname 33 var_dump( is_link(false) ); // boolean false as linkname 34 var_dump( is_link($filename) ); // file given to is_link 60 *** Testing is_link() for error conditions ***
|
H A D | lstat_stat_variation12.phpt | 2 Test lstat() and stat() functions: usage variations - effects of is_link() 13 /* test the effects of is_link() on stats of link */ 27 // is_link() on a link 28 echo "*** Testing stat() on a link after using is_link() on it ***\n"; 34 var_dump( is_link($linkname) ); 53 *** Testing stat() on a link after using is_link() on it ***
|
H A D | symlink_link_linkinfo_is_link_variation5.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - work on deleted link 12 /* Variation 5 : Creating link, deleting it and checking linkinfo(), is_link() on it */ 16 echo "*** Testing linkinfo() and is_link() on deleted link ***\n"; 40 // try using linkinfo() & is_link() on deleted link; expected: false 43 var_dump( is_link($deleted_link) ); 56 *** Testing linkinfo() and is_link() on deleted link ***
|
H A D | symlink_link_linkinfo_is_link_basic2.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to dirs 14 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n"; 17 linkinfo() and is_link() on the link created to $dirname */ 22 echo "\n*** Testing symlink(), linkinfo(), link() and is_link() on directory ***\n"; 38 var_dump( is_link($sym_linkname) ); 47 var_dump( is_link($linkname) ); // link doesn't exists as not created, expected false 66 *** Testing symlink(), linkinfo(), link() and is_link() : basic functionality *** 68 *** Testing symlink(), linkinfo(), link() and is_link() on directory ***
|
H A D | symlink_link_linkinfo_is_link_basic1.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to files 19 and checking linkinfo() and is_link() on the link created */ 21 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n"; 42 and check linkinfo() and is_link() on the link created */ 52 var_dump( is_link($sym_linkname) ); 64 var_dump( is_link($linkname) ); 83 *** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***
|
H A D | symlink_link_linkinfo_is_link_variation1.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link name stored in… 24 echo "*** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members in a… 41 var_dump( is_link($obj->linkname) ); 55 var_dump( is_link($obj->linkname) ); 61 echo "\n*** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members of… 73 var_dump( is_link($link_arr[0]) ); 87 var_dump( is_link($link_arr[0]) ); 105 *** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members in an obje… 117 *** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members of an arra…
|
H A D | symlink_link_linkinfo_is_link_variation2.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - hardlink to non-exi… 17 // checking linkinfo() and is_link() on the link; expected: false 19 var_dump( is_link($non_existent_linkname) );
|
H A D | symlink_link_linkinfo_is_link_variation6.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms. 27 var_dump( is_link($linkname) ); 35 var_dump( is_link($linkname) );
|
H A D | statcache-corruption.phpt | 6 is_link(__FILE__);
|
H A D | copy_variation7.phpt | 36 var_dump( is_link($file_path."/copy_copy_variation7_symlink.tmp") ); 44 var_dump( is_link($file_path."/copy_copy_variation7_hardlink.tmp") );
|
H A D | lstat_stat_variation14.phpt | 5 /* test the effects of is_link() on stats of hard link */
|
H A D | copy_variation8.phpt | 50 var_dump( is_link($dest) ); //expected: bool(false) 57 var_dump( is_link($dest) ); //expected: bool(flase)
|
H A D | symlink_link_linkinfo_is_link_error1.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - symlink & linkinfo
|
H A D | 001.phpt | 34 if (is_link('test.file')) { 39 if (is_link('test.link')) {
|
H A D | unlink_variation10.phpt | 63 if (is_link($tounlink) === false) {
|
H A D | symlink_link_linkinfo_is_link_variation7.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link to self
|
H A D | symlink_link_linkinfo_is_link_variation8.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link with same …
|
H A D | 001-win32-mb.phpt | 30 if (is_link($fname)) {
|
H A D | symlink_link_linkinfo_is_link_variation9.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & lstat[dev] v…
|
H A D | 001-win32.phpt | 27 if (is_link('test.file')) {
|
/PHP-8.1/ext/phar/tests/ |
H A D | stat2_5.3.phpt | 2 Phar: test stat function interceptions and is_file/is_link edge cases (PHP 5.3+) 21 echo "is_link\n"; 22 var_dump(is_link("./stat.php"),is_file("./stat.php"), is_link("./oops"), is_file("./oops")); 23 var_dump(is_link("testit/link"), filetype("testit/link"), filetype("testit"), is_file("testit/link"… 25 var_dump(is_link("notfound")); 40 is_link
|
H A D | stat.phpt | 61 echo "is_link\n"; 62 var_dump(is_link("dir/file1.txt")); 223 is_link
|
H A D | phar_gobyebye.phpt | 23 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
|
H A D | phar_gobyebye-win32.phpt | 22 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
|