Lines Matching refs:readlink
2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #…
11 /* Prototype: string readlink ( string $path );
18 echo "*** Testing readlink() and realpath() : usage variations ***\n";
27 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
33 echo "\n-- Testing readlink() and realpath() with softlink, linkname stored inside an array --\n";
36 var_dump( readlink($link_arr[0]) );
39 var_dump( readlink($link_arr[1]) );
46 echo "\n-- Testing readlink() and realpath() with hardlink, linkname stored inside an array --\n";
49 var_dump( readlink($link_arr[0]) ); // invalid because readlink doesn't work with hardlink
52 var_dump( readlink($link_arr[1]) ); // invalid because readlink doesn't work with hardlink
71 *** Testing readlink() and realpath() : usage variations ***
73 *** Testing readlink() and realpath() with linkname stored in an array ***
75 -- Testing readlink() and realpath() with softlink, linkname stored inside an array --
83 Warning: readlink(): No such file or directory in %s on line %d
89 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array --
92 Warning: readlink(): Invalid argument in %s on line %d
99 Warning: readlink(): No such file or directory in %s on line %d