original_string: public static function toAscii($str)
      {
          $methods = array(
              '_intlToAscii',
              '_iconvToAscii',
              '_fallbackToAscii'
          );
  
          foreach ($methods as $val) {
              if (($out = call_user_func(array(__CLASS__, $val), $str)) !== false) {
                  return $out;
              }
          }
  
          return $str;
      }
code: public static function toAscii($str)
      {
          $methods = array(
              '_intlToAscii',
              '_iconvToAscii',
              '_fallbackToAscii'
          );
  
          foreach ($methods as $val) {
              if (($out = call_user_func(array(__CLASS__, $val), $str)) !== false) {
                  return $out;
              }
          }
  
          return $str;
      }
code_tokens: public static function toAscii ( $ str ) { $ methods = array ( '_intlToAscii' , '_iconvToAscii' , '_fallbackToAscii' ) ; foreach ( $ methods as $ val ) { if ( ( $ out = call_user_func ( array ( __CLASS__ , $ val ) , $ str ) ) !== false ) { return $ out ; } } return $ str ; }
docstring: Transliterates an UTF-8 string to ASCII, replacing non-English
  characters to their English equivalents.
  
  Note: there is no guarantee that the output string will be ASCII-only,
  since any non-ASCII character not in the transliteration list will
  be ignored.
  
  @param string $str  Input string (UTF-8).
  
  @return string  Transliterated string (UTF-8).
docstring_tokens: Transliterates an UTF - 8 string to ASCII replacing non - English characters to their English equivalents .