|
SplFileInfo::getPathInfoGets an SplFileInfo object for the path Description
public SplFileInfonull SplFileInfo::getPathInfo(stringnull
$class = null )Gets an SplFileInfo object for the parent of the current file. Parameters
Return Values
Returns an SplFileInfo object for the parent path of the file on success, or Changelog
Examples
Example #1 SplFileInfo::getPathInfo example
The above example will output something similar to: string(8) "/usr/bin" See Also
|