public function consume_range($chars)
	{
		if ($len = strspn($this->data, $chars, $this->position))
		{
			$data = substr($this->data, $this->position, $len);
			$this->consumed .= $data;
			$this->position += $len;
			return $data;
		}
		else
		{
			return false;
		}
	}
public function consume_range($chars)
	{
		if ($len = strspn($this->data, $chars, $this->position))
		{
			$data = substr($this->data, $this->position, $len);
			$this->consumed .= $data;
			$this->position += $len;
			return $data;
		}
		else
		{
			return false;
		}
	}
public function consume_range ( $ chars ) { if ( $ len = strspn ( $ this -> data , $ chars , $ this -> position ) ) { $ data = substr ( $ this -> data , $ this -> position , $ len ) ; $ this -> consumed .= $ data ; $ this -> position += $ len ; return $ data ; } else { return false ; } }
Consume a range of characters

@access private
@param string $chars Characters to consume
@return mixed A series of characters that match the range, or false
Consume a range of characters