Lines Matching refs:chunk
35 /* print each chunk as HEX string */
37 foreach(mb_str_split($utf8, 2) as $chunk){
38 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
43 foreach(mb_str_split($utf8_bad, 2) as $chunk){
44 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
49 foreach(mb_str_split($utf16be, 1, "UTF-16BE") as $chunk){
50 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
55 foreach(mb_str_split($utf16le, 1, "UTF-16LE") as $chunk){
56 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
61 foreach(mb_str_split($utf16be_bad, 1, "UTF-16BE") as $chunk){
62 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
67 foreach(mb_str_split($utf16le_bad, 1, "UTF-16LE") as $chunk){
68 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);