|
SplFileInfo::getLinkTargetGets the target of a link Description
public stringfalse SplFileInfo::getLinkTarget()
Gets the target of a filesystem link.
ParametersThis function has no parameters. Return Values
Returns the target of the filesystem link on success, or Errors/ExceptionsThrows RuntimeException on error. Examples
Example #1 SplFileInfo::getLinkTarget example
The above example will output something similar to: string(19) "Documents/workspace" string(34) "/Users/bbieber/Documents/workspace" See Also
|