original_string: protected function exportFieldData(array $data)
      {
          $replacements = array("\n" => '\\n', "\r" => '\\r', "\t" => '\\t');
  
          foreach ($data as &$item) {
              $item = strtr((string) $item, $replacements);
          }
          fwrite($this->_file, implode("\t", $data) . "\r\n");
      }
code: protected function exportFieldData(array $data)
      {
          $replacements = array("\n" => '\\n', "\r" => '\\r', "\t" => '\\t');
  
          foreach ($data as &$item) {
              $item = strtr((string) $item, $replacements);
          }
          fwrite($this->_file, implode("\t", $data) . "\r\n");
      }
code_tokens: protected function exportFieldData ( array $ data ) { $ replacements = array ( "\n" => '\\n' , "\r" => '\\r' , "\t" => '\\t' ) ; foreach ( $ data as & $ item ) { $ item = strtr ( ( string ) $ item , $ replacements ) ; } fwrite ( $ this -> _file , implode ( "\t" , $ data ) . "\r\n" ) ; }
docstring: Write the array to the output to file
  
  @param array $data
docstring_tokens: Write the array to the output to file