Lines Matching refs:readlink
2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug …
11 /* Prototype: string readlink ( string $path );
18 echo "*** Testing readlink() and realpath() : usage variations ***\n";
23 echo "\n*** Testing readlink() and realpath() with linkname stored inside a object ***\n";
38 echo "\n-- Testing readlink() and realpath() with softlink, linkname stored inside an object --\n";
41 var_dump( readlink($obj1->linkname) );
44 var_dump( readlink($obj2->linkname) );
51 echo "\n-- Testing readlink() and realpath() with hardlink, linkname stored inside an object --\n";
54 var_dump( readlink($obj1->linkname) ); // invalid because readlink doesn't work with hardlink
57 var_dump( readlink($obj2->linkname) ); // invalid because readlink doesn't work with hardlink
76 *** Testing readlink() and realpath() : usage variations ***
78 *** Testing readlink() and realpath() with linkname stored inside a object ***
80 -- Testing readlink() and realpath() with softlink, linkname stored inside an object --
88 -- Testing readlink() and realpath() with hardlink, linkname stored inside an object --
91 Warning: readlink(): Invalid argument in %s on line %d
96 Warning: readlink(): Invalid argument in %s on line %d