PHPMailer\PHPMailer
POP3::stripControls
Strip all control chars from a string.
Метод класса: POP3{}
Хуков нет.
Возвращает
string.
Использование
$result = POP3::stripControls( $string );
- $string(обязательный)
- .
Код POP3::stripControls() POP3::stripControls WP 7.1.2
protected static function stripControls($string)
{
return preg_replace('/[\x00-\x1F\x7F]/u', '', $string);
}