Home
last modified time | relevance | path

Searched refs:is_link (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.1/tests/security/
H A Dopen_basedir_is_link.phpt8 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 Dsymlink_link_linkinfo_is_link_error2.phpt2 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 Dlstat_stat_variation12.phpt2 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 Dsymlink_link_linkinfo_is_link_variation5.phpt2 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 Dsymlink_link_linkinfo_is_link_basic2.phpt2 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 Dsymlink_link_linkinfo_is_link_basic1.phpt2 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 Dsymlink_link_linkinfo_is_link_variation1.phpt2 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 Dsymlink_link_linkinfo_is_link_variation2.phpt2 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 Dsymlink_link_linkinfo_is_link_variation6.phpt2 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 Dstatcache-corruption.phpt6 is_link(__FILE__);
H A Dcopy_variation7.phpt36 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 Dlstat_stat_variation14.phpt5 /* test the effects of is_link() on stats of hard link */
H A Dcopy_variation8.phpt50 var_dump( is_link($dest) ); //expected: bool(false)
57 var_dump( is_link($dest) ); //expected: bool(flase)
H A Dsymlink_link_linkinfo_is_link_error1.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - symlink & linkinfo
H A D001.phpt34 if (is_link('test.file')) {
39 if (is_link('test.link')) {
H A Dunlink_variation10.phpt63 if (is_link($tounlink) === false) {
H A Dsymlink_link_linkinfo_is_link_variation7.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link to self
H A Dsymlink_link_linkinfo_is_link_variation8.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link with same …
H A D001-win32-mb.phpt30 if (is_link($fname)) {
H A Dsymlink_link_linkinfo_is_link_variation9.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & lstat[dev] v…
H A D001-win32.phpt27 if (is_link('test.file')) {
/PHP-8.1/ext/phar/tests/
H A Dstat2_5.3.phpt2 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 Dstat.phpt61 echo "is_link\n";
62 var_dump(is_link("dir/file1.txt"));
223 is_link
H A Dphar_gobyebye.phpt23 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
H A Dphar_gobyebye-win32.phpt22 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));

Completed in 18 milliseconds

12