Lines Matching refs:readlink
2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #…
14 /* Prototype: string readlink ( string $path );
21 echo "*** Testing readlink() and realpath() : usage variations ***\n";
30 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
36 echo "\n-- Testing readlink() and realpath() with softlink, linkname stored inside an array --\n";
39 var_dump( readlink($link_arr[0]) );
42 var_dump( readlink($link_arr[1]) );
49 echo "\n-- Testing readlink() and realpath() with hardlink, linkname stored inside an array --\n";
52 var_dump( readlink($link_arr[0]) ); // invalid because readlink doesn't work with hardlink
55 var_dump( readlink($link_arr[1]) ); // invalid because readlink doesn't work with hardlink
74 *** Testing readlink() and realpath() : usage variations ***
76 *** Testing readlink() and realpath() with linkname stored in an array ***
78 -- Testing readlink() and realpath() with softlink, linkname stored inside an array --
86 Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d
92 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array --
100 Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d