function emojify($str) {
		$map=[
			':('=>'\u2639', // frown
			':)'=>'\u263a', // smile
			'<3'=>'\u2665', // heart
			':D'=>'\u1f603', // grin
			'XD'=>'\u1f606', // laugh
			';)'=>'\u1f609', // wink
			':P'=>'\u1f60b', // tongue
			':,'=>'\u1f60f', // think
			':/'=>'\u1f623', // skeptic
			'8O'=>'\u1f632', // oops
		]+Base::instance()->EMOJI;
		return $this->translate(str_replace(array_keys($map),
			array_values($map),$str));
	}
function emojify($str) {
		$map=[
			':('=>'\u2639', // frown
			':)'=>'\u263a', // smile
			'<3'=>'\u2665', // heart
			':D'=>'\u1f603', // grin
			'XD'=>'\u1f606', // laugh
			';)'=>'\u1f609', // wink
			':P'=>'\u1f60b', // tongue
			':,'=>'\u1f60f', // think
			':/'=>'\u1f623', // skeptic
			'8O'=>'\u1f632', // oops
		]+Base::instance()->EMOJI;
		return $this->translate(str_replace(array_keys($map),
			array_values($map),$str));
	}
function emojify ( $ str ) { $ map = [ ':(' => '\u2639' , // frown ':)' => '\u263a' , // smile '<3' => '\u2665' , // heart ':D' => '\u1f603' , // grin 'XD' => '\u1f606' , // laugh ';)' => '\u1f609' , // wink ':P' => '\u1f60b' , // tongue ':,' => '\u1f60f' , // think ':/' => '\u1f623' , // skeptic '8O' => '\u1f632' , // oops ] + Base :: instance ( ) -> EMOJI ; return $ this -> translate ( str_replace ( array_keys ( $ map ) , array_values ( $ map ) , $ str ) ) ; }
Translate emoji tokens to Unicode font-supported symbols
@return string
@param $str string
Translate emoji tokens to Unicode font - supported symbols