original_string: public static function deaccent($string,$case=0)
      {
          if($case <= 0){
              //global $utf8_lower_accents;
              $string = str_replace(array_keys(self::$utf8_lower_accents),array_values(self::$utf8_lower_accents),$string);
          }
          if($case >= 0){
              //global $utf8_upper_accents;
              $string = str_replace(array_keys(self::$utf8_upper_accents),array_values(self::$utf8_upper_accents),$string);
          }
          return $string;
      }
code: public static function deaccent($string,$case=0)
      {
          if($case <= 0){
              //global $utf8_lower_accents;
              $string = str_replace(array_keys(self::$utf8_lower_accents),array_values(self::$utf8_lower_accents),$string);
          }
          if($case >= 0){
              //global $utf8_upper_accents;
              $string = str_replace(array_keys(self::$utf8_upper_accents),array_values(self::$utf8_upper_accents),$string);
          }
          return $string;
      }
code_tokens: public static function deaccent ( $ string , $ case = 0 ) { if ( $ case <= 0 ) { //global $utf8_lower_accents; $ string = str_replace ( array_keys ( self :: $ utf8_lower_accents ) , array_values ( self :: $ utf8_lower_accents ) , $ string ) ; } if ( $ case >= 0 ) { //global $utf8_upper_accents; $ string = str_replace ( array_keys ( self :: $ utf8_upper_accents ) , array_values ( self :: $ utf8_upper_accents ) , $ string ) ; } return $ string ; }
docstring: Replace accented UTF-8 characters by unaccented ASCII-7 equivalents
  
  Use the optional parameter to just deaccent lower ($case = -1) or upper ($case = 1)
  letters. Default is to deaccent both cases ($case = 0)
  
  @author Andreas Gohr <andi@splitbrain.org>
docstring_tokens: Replace accented UTF - 8 characters by unaccented ASCII - 7 equivalents