Lines Matching refs:link

2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link name stored in…
11 /* Prototype: bool symlink ( string $target, string $link );
12 Description: creates a symbolic link to the existing target with the specified name link
15 Description: Tells whether the given file is a symbolic link.
17 Prototype: bool link ( string $target, string $link );
18 Description: Create a hard link
21 Description: Gets information about a link
36 echo "*** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members in a…
39 function object_temp($link) {
40 $this->linkname = $link;
47 // creating soft link
49 // check if the link exists
51 // check if link is soft link
53 // delete the link created
60 // creating hard link
61 var_dump( link($filename, $obj->linkname) );
62 // check if the link exists
64 // check if link is soft link; expected: false as the link is a hardlink
66 // delete the link created
71 echo "\n*** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members of…
77 // creating soft link
79 // check if the link exist
81 // check if link is soft link
83 // delete the link created
90 // creating hard link
91 var_dump( link($filename, $link_arr[0]) );
92 // check if the link exist
94 // check if link is soft link; expected: false as this is a hardlink
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…