Formated Paste
/** * Encodes an email address in multiple ways. * @param $str String The email address to encode. * @version $url_encode bool Should we use url encoding? Do not use this for displaying, only for mailto: links. */ public function encode_email_address($str, $url_encode = true) { return; $ret = ''; for($index = 0; $index < $strlength; $index++) { $char = $str[$index]; switch($type) { case 3: $ret .= $char; break; } } return $ret; }