string makePathRelative(string $endPath, string $startPath)
Given an existing path, convert it to a path relative to a given starting path.
string makePathRelative(string $endPath, string $startPath)
Given an existing path, convert it to a path relative to a given starting path.
string | $endPath | Absolute path of target |
string | $startPath | Absolute path where traversal begins |
string | Path of target relative to starting path |
Designed by : w10schools
service@w10schools.com
Please login to continue.