Lines Matching refs:link
2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & lstat[dev] v…
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 9 : Check lstat of soft/hard link created
32 // soft link name used
34 // hard link name used
41 echo "*** Checking lstat() on soft link ***\n";
42 // create soft link
54 // delete link
57 echo "\n*** Checking lstat() on hard link ***\n";
58 // create hard link
59 var_dump( link($filename, $hard_link) );
70 // delete link
73 echo "\n*** Checking lstat() on a soft link to directory ***\n";
74 // create soft link
87 // delete link
101 *** Checking lstat() on soft link ***
108 *** Checking lstat() on hard link ***
115 *** Checking lstat() on a soft link to directory ***