SimplePie_HTTP_Parser::reason PHP 메소드

reason() 공개 메소드

Parse the reason phrase
public reason ( )
    function reason()
    {
        $len = strcspn($this->data, "\n", $this->position);
        $this->reason = trim(substr($this->data, $this->position, $len), "\t\r ");
        $this->position += $len + 1;
        $this->state = 'new_line';
    }