Lines Matching refs:readlink
2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #…
14 echo "*** Testing readlink() and realpath() : usage variations ***\n";
23 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
29 echo "\n-- Testing readlink() and realpath() with softlink, linkname stored inside an array --\n";
32 var_dump( readlink($link_arr[0]) );
35 var_dump( readlink($link_arr[1]) );
42 echo "\n-- Testing readlink() and realpath() with hardlink, linkname stored inside an array --\n";
45 var_dump( readlink($link_arr[0]) ); // invalid because readlink doesn't work with hardlink
48 var_dump( readlink($link_arr[1]) ); // invalid because readlink doesn't work with hardlink
67 *** Testing readlink() and realpath() : usage variations ***
69 *** Testing readlink() and realpath() with linkname stored in an array ***
71 -- Testing readlink() and realpath() with softlink, linkname stored inside an array --
79 Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d
85 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array --
93 Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d