public static function combinePath(){
		$argsCount	= \func_num_args();
		$args		= \func_get_args();
		if($argsCount > 0){
			if($argsCount == 1){
				return $args[0];
			}else{
				$res = "";
				foreach ($args as $arg) {
					$res .= $arg . \DIRECTORY_SEPARATOR;
				}
				$res = \rtrim($res, \DIRECTORY_SEPARATOR);
				return $res;
			}
		}
		return null;
	}
public static function combinePath(){
		$argsCount	= \func_num_args();
		$args		= \func_get_args();
		if($argsCount > 0){
			if($argsCount == 1){
				return $args[0];
			}else{
				$res = "";
				foreach ($args as $arg) {
					$res .= $arg . \DIRECTORY_SEPARATOR;
				}
				$res = \rtrim($res, \DIRECTORY_SEPARATOR);
				return $res;
			}
		}
		return null;
	}
public static function combinePath ( ) { $ argsCount = \ func_num_args ( ) ; $ args = \ func_get_args ( ) ; if ( $ argsCount > 0 ) { if ( $ argsCount == 1 ) { return $ args [ 0 ] ; } else { $ res = "" ; foreach ( $ args as $ arg ) { $ res .= $ arg . \ DIRECTORY_SEPARATOR ; } $ res = \ rtrim ( $ res , \ DIRECTORY_SEPARATOR ) ; return $ res ; } } return null ; }
combine path parts cross platform
@return string        combined path if parameters entered and null if no parameters entered
combine path parts cross platform