File::rewind() | File::stripLeadingSeparators() |
File | |
PEAR Manual | |
require_once 'File.php'; |
string File::skipRoot (
string $path
)
This method strips the root directory from $path .
string $path - the path to be processed.
If the path is absolute, this method returns the processed path, otherwise, it returns the path untouched.
This function can be called statically.
Using File::skipRoot()
|
This example prints out home/foo/bar.
File::rewind() | File::stripLeadingSeparators() |
File | |
PEAR Manual | |