/** * Returns a single path that is concatenated with supplied paths * @example Demonstration * ```php * echo path::join('/srv', 'http/', '/example.com'); * ``` * @example Passing an array * ```php * echo path::join(array ('/srv', 'http', 'example.com')); * ``` * @param array|string* $Paths Pieces of a path */ static function join($Paths) { return path::join_with('/', func_num_args() > 1 ? func_get_args() : (type::is_iterable($Paths) ? $Paths : type::arr($Paths))); }