public static function obfuscateEmail(string $email, bool $comment = false) : string { if ($comment) { return str_replace('@', '@<!---->', $email); } else { return str_replace('@', '@', $email); } }