SimplePie_Decode_HTML_Entities::consume_range

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Consume a range of characters

Syntax Syntax

SimplePie_Decode_HTML_Entities::consume_range( string $chars )

Parameters Parameters

$chars

(string) (Required) Characters to consume

Return Return

(mixed) A series of characters that match the range, or false

Source Source

File: wp-includes/SimplePie/Decode/HTML/Entities.php

		{
			$data = substr($this->data, $this->position, $len);
			$this->consumed .= $data;
			$this->position += $len;
			return $data;
		}

		return false;
	}

	/**
	 * Unconsume one byte
	 *
	 * @access private

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.