skip_whitespace example

        if ( 0 === $name_length || $this->bytes_already_parsed + $name_length >= strlen( $this->html ) ) {
            return false;
        }

        $attribute_start             = $this->bytes_already_parsed;
        $attribute_name              = substr( $this->html, $attribute_start$name_length );
        $this->bytes_already_parsed += $name_length;
        if ( $this->bytes_already_parsed >= strlen( $this->html ) ) {
            return false;
        }

        $this->skip_whitespace();
        if ( $this->bytes_already_parsed >= strlen( $this->html ) ) {
            return false;
        }

        $has_value = '=' === $this->html[ $this->bytes_already_parsed ];
        if ( $has_value ) {
            ++$this->bytes_already_parsed;
            $this->skip_whitespace();
            if ( $this->bytes_already_parsed >= strlen( $this->html ) ) {
                return false;
            }

            

                $value = substr($this->data, $this->position, $len);
                $this->position += $len + 1;
                return $value;
            }
        }
        return false;
    }

    public function before_version_name()
    {
        if ($this->skip_whitespace())
        {
            $this->state = 'version_name';
        }
        else
        {
            $this->state = false;
        }
    }

    public function version_name()
    {
        
Home | Imprint | This part of the site doesn't use cookies.