Takes two paths as strings, or a path and a basename as strings. It combines them and returns the result.
(string) Path, filename, or path and filename.
(string) Concatenation of input parameters with joining path delimiter that is either \ or / depending on the OS filesystem.
This function is filesystem aware, in order to determine the joining path delimiter.