original_string: protected static function utf8Decode($text, $option)
      {
          if ($option == self::WITHOUT_ICONV || !function_exists('iconv')) {
               $decoded = utf8_decode(
                   str_replace(array_keys(static::$utf8ToWin1252), array_values(static::$utf8ToWin1252), static::toUTF8($text))
               );
          } else {
               $decoded = iconv("UTF-8", "Windows-1252" . ($option == self::ICONV_TRANSLIT ? '//TRANSLIT' : ($option == self::ICONV_IGNORE ? '//IGNORE' : '')), $text);
          }
  
          return $decoded;
      }
code: protected static function utf8Decode($text, $option)
      {
          if ($option == self::WITHOUT_ICONV || !function_exists('iconv')) {
               $decoded = utf8_decode(
                   str_replace(array_keys(static::$utf8ToWin1252), array_values(static::$utf8ToWin1252), static::toUTF8($text))
               );
          } else {
               $decoded = iconv("UTF-8", "Windows-1252" . ($option == self::ICONV_TRANSLIT ? '//TRANSLIT' : ($option == self::ICONV_IGNORE ? '//IGNORE' : '')), $text);
          }
  
          return $decoded;
      }
code_tokens: protected static function utf8Decode ( $ text , $ option ) { if ( $ option == self :: WITHOUT_ICONV || ! function_exists ( 'iconv' ) ) { $ decoded = utf8_decode ( str_replace ( array_keys ( static :: $ utf8ToWin1252 ) , array_values ( static :: $ utf8ToWin1252 ) , static :: toUTF8 ( $ text ) ) ) ; } else { $ decoded = iconv ( "UTF-8" , "Windows-1252" . ( $ option == self :: ICONV_TRANSLIT ? '//TRANSLIT' : ( $ option == self :: ICONV_IGNORE ? '//IGNORE' : '' ) ) , $ text ) ; } return $ decoded ; }
docstring: Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte Windows-1252
  
  @param  string   $text
  @param  string   $option     How to convert if use iconv function (TRANSLIT or IGNORE)
  @return string
docstring_tokens: Converts a string with ISO - 8859 - 1 characters encoded with UTF - 8 to single - byte Windows - 1252