POP3::is_ok()publicWP 1.0

The following methods are internal to the class.

Метод класса: POP3{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$POP3 = new POP3();
$POP3->is_ok ( $cmd );
$cmd **
-
По умолчанию: ""

Код POP3::is_ok() WP 6.4.3

function is_ok ($cmd = "") {
    //  Return true or false on +OK or -ERR

    if( empty($cmd) )
        return false;
    else
        return( stripos($cmd, '+OK') !== false );
}