original_string: public static function prepare($data, $forceWindows = false)
      {
          $lineBreak = "\n";
          if (DS === '\\' || $forceWindows === true) {
              $lineBreak = "\r\n";
          }
  
          return strtr($data, array("\r\n" => $lineBreak, "\n" => $lineBreak, "\r" => $lineBreak));
      }
code: public static function prepare($data, $forceWindows = false)
      {
          $lineBreak = "\n";
          if (DS === '\\' || $forceWindows === true) {
              $lineBreak = "\r\n";
          }
  
          return strtr($data, array("\r\n" => $lineBreak, "\n" => $lineBreak, "\r" => $lineBreak));
      }
code_tokens: public static function prepare ( $ data , $ forceWindows = false ) { $ lineBreak = "\n" ; if ( DS === '\\' || $ forceWindows === true ) { $ lineBreak = "\r\n" ; } return strtr ( $ data , array ( "\r\n" => $ lineBreak , "\n" => $ lineBreak , "\r" => $ lineBreak ) ) ; }
docstring: Prepares a ASCII string for writing. Converts line endings to the
  correct terminator for the current platform. If Windows, "\r\n" will be used,
  all other platforms will use "\n"
  
  @param  string  $data         Data to prepare for writing.
  @param  boolean $forceWindows
  @return string  The with converted line endings.
docstring_tokens: Prepares a ASCII string for writing . Converts line endings to the correct terminator for the current platform . If Windows \ r \ n will be used all other platforms will use \ n