Lines Matching refs:link
2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to files
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
30 /* Creating soft/hard link to $filename created in temp directory $dirname
31 and checking linkinfo() and is_link() on the link created */
33 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n";
40 // name of the soft link created to $filename
43 // name of the hard link created to $filename
53 /* create soft/hard link to the file
54 and check linkinfo() and is_link() on the link created */
58 // create soft link
60 // checking information of link with linkinfo()
62 // checking if given file is soft link
67 // testing on hard link
69 // creating hard link
70 var_dump( link($file, $linkname) );
71 // checking information of link with linkinfo()
73 // checking if given link is soft link; expected: false
93 *** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***