protected function parseUnicode($text)
	{
		if (strpos($text, "\xE2") === false && strpos($text, "\xEF") === false && strpos($text, "\xF0") === false)
		{
			return;
		}
		preg_match_all($this->unicodeRegexp, $text, $matches, PREG_OFFSET_CAPTURE);
		foreach ($matches[0] as list($emoji, $tagPos))
		{
			$this->addTag($tagPos, strlen($emoji), $this->getHexSequence($emoji));
		}
	}
protected function parseUnicode($text)
	{
		if (strpos($text, "\xE2") === false && strpos($text, "\xEF") === false && strpos($text, "\xF0") === false)
		{
			return;
		}
		preg_match_all($this->unicodeRegexp, $text, $matches, PREG_OFFSET_CAPTURE);
		foreach ($matches[0] as list($emoji, $tagPos))
		{
			$this->addTag($tagPos, strlen($emoji), $this->getHexSequence($emoji));
		}
	}
protected function parseUnicode ( $ text ) { if ( strpos ( $ text , "\xE2" ) === false && strpos ( $ text , "\xEF" ) === false && strpos ( $ text , "\xF0" ) === false ) { return ; } preg_match_all ( $ this -> unicodeRegexp , $ text , $ matches , PREG_OFFSET_CAPTURE ) ; foreach ( $ matches [ 0 ] as list ( $ emoji , $ tagPos ) ) { $ this -> addTag ( $ tagPos , strlen ( $ emoji ) , $ this -> getHexSequence ( $ emoji ) ) ; } }
Parse Unicode emoji in given text

@param  string $text Original text
@return void
Parse Unicode emoji in given text