Home
last modified time | relevance | path

Searched refs:linkinfo (Results 1 – 19 of 19) sorted by relevance

/PHP-7.1/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation9.phpt46 $linkinfo = linkinfo($soft_link);
48 echo "linkinfo() returns : $linkinfo\n";
50 if( $s1[0] == $linkinfo )
61 $linkinfo = linkinfo($hard_link);
63 echo "linkinfo() returns : $linkinfo\n";
65 if( $s1[0] == $linkinfo )
78 $linkinfo = linkinfo($soft_link);
80 echo "linkinfo() returns : $linkinfo\n";
103 linkinfo() returns : %d
110 linkinfo() returns : %d
[all …]
H A Dsymlink_link_linkinfo_is_link_error1.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - symlink & linkinfo
26 Prototype: int linkinfo ( string $path );
55 var_dump( linkinfo() );
58 var_dump( linkinfo($linkname, true) );
61 var_dump( linkinfo(NULL) ); // NULL as linkname
62 var_dump( linkinfo('') ); // empty string as linkname
63 var_dump( linkinfo(false) ); // boolean false as linkname
99 *** Testing linkinfo() for error conditions ***
107 Warning: linkinfo(): %s in %s on line %d
110 Warning: linkinfo(): %s in %s on line %d
[all …]
H A Dsymlink_link_linkinfo_is_link_variation5.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - work on deleted link
20 Prototype: int linkinfo ( string $path );
24 /* Variation 5 : Creating link, deleting it and checking linkinfo(), is_link() on it */
28 echo "*** Testing linkinfo() and is_link() on deleted link ***\n";
52 // try using linkinfo() & is_link() on deleted link; expected: false
54 var_dump( linkinfo($deleted_link) );
68 *** Testing linkinfo() and is_link() on deleted link ***
72 Warning: linkinfo(): No such file or directory in %s on line %d
H A Dsymlink_link_linkinfo_is_link_basic2.phpt2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to dirs
20 Prototype: int linkinfo ( string $path );
26 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n";
29 linkinfo() and is_link() on the link created to $dirname */
34 echo "\n*** Testing symlink(), linkinfo(), link() and is_link() on directory ***\n";
47 var_dump( linkinfo($sym_linkname) );
57 var_dump( linkinfo($linkname) ); // link doesn't exists as not created, expected false
73 *** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***
75 *** Testing symlink(), linkinfo(), link() and is_link() on directory ***
87 Warning: linkinfo(): No such file or directory in %s on line %d
H A Dsymlink_link_linkinfo_is_link_basic1.phpt2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to files
20 Prototype: int linkinfo ( string $path );
31 and checking linkinfo() and is_link() on the link created */
33 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n";
54 and check linkinfo() and is_link() on the link created */
60 // checking information of link with linkinfo()
61 var_dump( linkinfo($sym_linkname) );
71 // checking information of link with linkinfo()
72 var_dump( linkinfo($linkname) );
93 *** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***
H A Dsymlink_link_linkinfo_is_link_variation2.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - hardlink to non-exi…
20 Prototype: int linkinfo ( string $path );
36 // checking linkinfo() and is_link() on the link; expected: false
37 var_dump( linkinfo($non_existent_linkname) );
48 Warning: linkinfo(): No such file or directory in %s on line %d
H A Dsymlink_link_linkinfo_is_link_variation1.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link name stored in…
20 Prototype: int linkinfo ( string $path );
36 echo "*** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members in a…
50 var_dump( linkinfo($obj->linkname) );
63 var_dump( linkinfo($obj->linkname) );
71 echo "\n*** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members of…
80 var_dump( linkinfo($link_arr[0]) );
93 var_dump( linkinfo($link_arr[0]) );
113 *** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members in an obje…
125 *** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members of an arra…
H A Dsymlink_link_linkinfo_is_link_variation6.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms.
37 Prototype: int linkinfo ( string $path );
58 var_dump( linkinfo($linkname) );
66 var_dump( linkinfo($linkname) );
95 Warning: linkinfo(): Permission denied in %s on line %d
104 Warning: linkinfo(): Permission denied in %s on line %d
H A Dsymlink.phpt17 var_dump(linkinfo($link));
21 var_dump(linkinfo($link));
43 var_dump(linkinfo("."));
55 Warning: linkinfo(): No such file or directory in %s on line %d
H A Dsymlink_link_linkinfo_is_link_variation7.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link to self
20 Prototype: int linkinfo ( string $path );
H A Dsymlink_link_linkinfo_is_link_variation8.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link with same …
20 Prototype: int linkinfo ( string $path );
H A Dsymlink_link_linkinfo_is_link_error2.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - link & is_link
23 Prototype: int linkinfo ( string $path );
H A Dsymlink_link_linkinfo_is_link_variation4.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - access/update file …
20 Prototype: int linkinfo ( string $path );
H A Dsymlink_link_linkinfo_is_link_variation3.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - access/update file …
20 Prototype: int linkinfo ( string $path );
/PHP-7.1/tests/security/
H A Dopen_basedir_linkinfo.phpt18 test_open_basedir_before("linkinfo", FALSE);
28 var_dump(linkinfo("symlink.txt"));
29 var_dump(linkinfo("../ok/symlink.txt"));
30 var_dump(linkinfo("../ok/./symlink.txt"));
31 var_dump(linkinfo("./symlink.txt"));
32 var_dump(linkinfo($initdir."/test/ok/symlink.txt"));
37 var_dump(linkinfo($symlink));
40 test_open_basedir_after("linkinfo");
49 *** Testing open_basedir configuration [linkinfo] ***
65 *** Finished testing open_basedir configuration [linkinfo] ***
/PHP-7.1/ext/standard/
H A Dphp_link.h28 PHP_FUNCTION(linkinfo);
H A Dlink.c85 PHP_FUNCTION(linkinfo) in PHP_FUNCTION() argument
H A Dlink_win32.c87 PHP_FUNCTION(linkinfo) in PHP_FUNCTION() argument
H A Dbasic_functions.c2834 PHP_FE(linkinfo, arginfo_linkinfo)

Completed in 59 milliseconds