Lines Matching refs:link
2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - work on deleted link
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
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";
29 // link name used here
44 var_dump( symlink($filename, $linkname) ); // create link
46 // delete the link
47 var_dump( unlink($linkname) ); // delete the link
52 // try using linkinfo() & is_link() on deleted link; expected: false
68 *** Testing linkinfo() and is_link() on deleted link ***