WordPress at a glance
function is not described

POP3::parse_banner() public WP 1.0

{} It's a method of the class: POP3{}

No Hooks.

Return

Null. Nothing.

Usage

$POP3 = new POP3();
$POP3->parse_banner ( $server_text );

Code of POP3::parse_banner() WP 5.5.1

<?php
function parse_banner ( $server_text ) {
    $outside = true;
    $banner = "";
    $length = strlen($server_text);
    for($count =0; $count < $length; $count++)
    {
        $digit = substr($server_text,$count,1);
        if(!empty($digit))             {
            if( (!$outside) && ($digit != '<') && ($digit != '>') )
            {
                $banner .= $digit;
            }
            if ($digit == '<')
            {
                $outside = false;
            }
            if($digit == '>')
            {
                $outside = true;
            }
        }
    }
    $banner = $this->strip_clf($banner);    // Just in case
    return "<$banner>";
}