protected static function encodeUnicodeSupplementaryCharactersCallback(array $m)
	{
		$utf8 = $m[0];
		$cp   = (ord($utf8[0]) << 18) + (ord($utf8[1]) << 12) + (ord($utf8[2]) << 6) + ord($utf8[3]) - 0x3C82080;

		return '&#' . $cp . ';';
	}
protected static function encodeUnicodeSupplementaryCharactersCallback(array $m)
	{
		$utf8 = $m[0];
		$cp   = (ord($utf8[0]) << 18) + (ord($utf8[1]) << 12) + (ord($utf8[2]) << 6) + ord($utf8[3]) - 0x3C82080;

		return '&#' . $cp . ';';
	}
protected static function encodeUnicodeSupplementaryCharactersCallback ( array $ m ) { $ utf8 = $ m [ 0 ] ; $ cp = ( ord ( $ utf8 [ 0 ] ) << 18 ) + ( ord ( $ utf8 [ 1 ] ) << 12 ) + ( ord ( $ utf8 [ 2 ] ) << 6 ) + ord ( $ utf8 [ 3 ] ) - 0x3C82080 ; return '&#' . $ cp . ';' ; }
Encode given Unicode character into an XML entity

@param  string[] $m Array of captures
@return string      Encoded character
Encode given Unicode character into an XML entity