/**
  * Convert matched bytes back to unicode string reference
  */
 public function testAllSequencesResolveUnicode()
 {
     foreach ($this->get_all() as $raw => $key) {
         $codes = twitter_api_utf8_array($raw);
         $ucode = twitter_api_unicode_implode($codes);
         $this->assertEquals($key, $ucode);
     }
 }
 public function testVariableByteLengthMixed()
 {
     $ints = twitter_api_utf8_array("A©B™C🀄D");
     $this->assertSame(array(ord('A'), 0xa9, ord('B'), 0x2122, ord('C'), 0x1f004, ord('D')), $ints);
 }