skip_rcdata example


            $t = $this->html[ $this->tag_name_starts_at ];
            if ( ! $this->is_closing_tag && ( 's' === $t || 'S' === $t || 't' === $t || 'T' === $t ) ) {
                $tag_name = $this->get_tag();

                if ( 'SCRIPT' === $tag_name && ! $this->skip_script_data() ) {
                    $this->bytes_already_parsed = strlen( $this->html );
                    return false;
                } elseif (
                    ( 'TEXTAREA' === $tag_name || 'TITLE' === $tag_name ) &&
                    ! $this->skip_rcdata( $tag_name )
                ) {
                    $this->bytes_already_parsed = strlen( $this->html );
                    return false;
                }
            }
        } while ( $already_found < $this->sought_match_offset );

        return true;
    }


    
Home | Imprint | This part of the site doesn't use cookies.