classes/phing/types/Path.php
public static function translateFile($source)
    {
        if ($source == null) {
            return "";
        }

        $result = $source;
        for ($i = 0, $_i = strlen($source); $i < $_i; $i++) {
            self::translateFileSep($result, $i);
        }

        return $result;
    }
public static function translateFile($source)
    {
        if ($source == null) {
            return "";
        }

        $result = $source;
        for ($i = 0, $_i = strlen($source); $i < $_i; $i++) {
            self::translateFileSep($result, $i);
        }

        return $result;
    }
public static function translateFile ( $ source ) { if ( $ source == null ) { return "" ; } $ result = $ source ; for ( $ i = 0 , $ _i = strlen ( $ source ) ; $ i < $ _i ; $ i ++ ) { self :: translateFileSep ( $ result , $ i ) ; } return $ result ; }
Returns its argument with all file separator characters
replaced so that they match the local OS conventions.

@param string $source

@return string
Returns its argument with all file separator characters replaced so that they match the local OS conventions .