protected function isInvalidTextSpan($pos, $len)
	{
		return ($len < 0 || $pos < 0 || $pos + $len > $this->textLen || preg_match('([\\x80-\\xBF])', substr($this->text, $pos, 1) . substr($this->text, $pos + $len, 1)));
	}
protected function isInvalidTextSpan($pos, $len)
	{
		return ($len < 0 || $pos < 0 || $pos + $len > $this->textLen || preg_match('([\\x80-\\xBF])', substr($this->text, $pos, 1) . substr($this->text, $pos + $len, 1)));
	}
protected function isInvalidTextSpan ( $ pos , $ len ) { return ( $ len < 0 || $ pos < 0 || $ pos + $ len > $ this -> textLen || preg_match ( '([\\x80-\\xBF])' , substr ( $ this -> text , $ pos , 1 ) . substr ( $ this -> text , $ pos + $ len , 1 ) ) ) ; }
Test whether given text span is outside text boundaries or an invalid UTF sequence

@param  integer $pos Start of text
@param  integer $len Length of text
@return bool
Test whether given text span is outside text boundaries or an invalid UTF sequence