original_string: public function safeEmailFilter($str)
      {
          $email   = '';
          for ($i = 0, $len = strlen($str); $i < $len; $i++) {
              $j = random_int(0, 1);
  
              $email .= $j === 0 ? '&#' . ord($str[$i]) . ';' : $str[$i];
          }
  
          return str_replace('@', '&#64;', $email);
      }
code: public function safeEmailFilter($str)
      {
          $email   = '';
          for ($i = 0, $len = strlen($str); $i < $len; $i++) {
              $j = random_int(0, 1);
  
              $email .= $j === 0 ? '&#' . ord($str[$i]) . ';' : $str[$i];
          }
  
          return str_replace('@', '&#64;', $email);
      }
code_tokens: public function safeEmailFilter ( $ str ) { $ email = '' ; for ( $ i = 0 , $ len = strlen ( $ str ) ; $ i < $ len ; $ i ++ ) { $ j = random_int ( 0 , 1 ) ; $ email .= $ j === 0 ? '&#' . ord ( $ str [ $ i ] ) . ';' : $ str [ $ i ] ; } return str_replace ( '@' , '&#64;' , $ email ) ; }
docstring: Protects email address.
  
  @param  string $str
  
  @return string
docstring_tokens: Protects email address .